agora inbox for [email protected]
help / color / mirror / Atom feedRe: Optimization for updating foreign tables in Postgres FDW
976+ messages / 4 participants
[nested] [flat]
* Re: Optimization for updating foreign tables in Postgres FDW
@ 2015-04-16 10:50 Etsuro Fujita <[email protected]>
2015-04-16 10:57 ` Re: Optimization for updating foreign tables in Postgres FDW Amit Langote <[email protected]>
0 siblings, 1 reply; 976+ messages in thread
From: Etsuro Fujita @ 2015-04-16 10:50 UTC (permalink / raw)
To: Albe Laurenz <[email protected]>; Tom Lane <[email protected]>; +Cc: Stephen Frost <[email protected]>; Shigeru Hanada <[email protected]>; Robert Haas <[email protected]>; pgsql-hackers
On 2015/03/05 21:08, Etsuro Fujita wrote:
> Here is an updated version.
> The EXPLAIN output has also been improved as discussed in [1].
I noticed that the EXPLAIN for a pushed-down update (delete) on
inheritance childs doubly displays "Foreign Update" ("Foreign Delete"),
one for ForeignScan and the other for ModifyTable. Here is an example:
postgres=# explain verbose update parent set c1 = c1;
QUERY PLAN
------------------------------------------------------------------------------
Update on public.parent (cost=0.00..364.54 rows=4819 width=10)
Update on public.parent
Foreign Update on public.ft1
Foreign Update on public.ft2
-> Seq Scan on public.parent (cost=0.00..0.00 rows=1 width=10)
Output: parent.c1, parent.ctid
-> Foreign Update on public.ft1 (cost=100.00..182.27 rows=2409
width=10)
Remote SQL: UPDATE public.t1 SET c1 = c1
-> Foreign Update on public.ft2 (cost=100.00..182.27 rows=2409
width=10)
Remote SQL: UPDATE public.t2 SET c1 = c1
(10 rows)
Should we do something? Suggestions are welcome.
Best regards,
Etsuro Fujita
[1] http://www.postgresql.org/message-id/[email protected]
--
Sent via pgsql-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
^ permalink raw reply [nested|flat] 976+ messages in thread
* Re: Optimization for updating foreign tables in Postgres FDW
2015-04-16 10:50 Re: Optimization for updating foreign tables in Postgres FDW Etsuro Fujita <[email protected]>
@ 2015-04-16 10:57 ` Amit Langote <[email protected]>
2015-04-16 11:40 ` Re: Optimization for updating foreign tables in Postgres FDW Etsuro Fujita <[email protected]>
0 siblings, 1 reply; 976+ messages in thread
From: Amit Langote @ 2015-04-16 10:57 UTC (permalink / raw)
To: Etsuro Fujita <[email protected]>; Albe Laurenz <[email protected]>; Tom Lane <[email protected]>; +Cc: Stephen Frost <[email protected]>; Shigeru Hanada <[email protected]>; Robert Haas <[email protected]>; pgsql-hackers
On 16-04-2015 PM 07:50, Etsuro Fujita wrote:
>> The EXPLAIN output has also been improved as discussed in [1].
>
> I noticed that the EXPLAIN for a pushed-down update (delete) on inheritance
> childs doubly displays "Foreign Update" ("Foreign Delete"), one for
> ForeignScan and the other for ModifyTable. Here is an example:
>
> postgres=# explain verbose update parent set c1 = c1;
> QUERY PLAN
> ------------------------------------------------------------------------------
> Update on public.parent (cost=0.00..364.54 rows=4819 width=10)
> Update on public.parent
> Foreign Update on public.ft1
> Foreign Update on public.ft2
> -> Seq Scan on public.parent (cost=0.00..0.00 rows=1 width=10)
> Output: parent.c1, parent.ctid
> -> Foreign Update on public.ft1 (cost=100.00..182.27 rows=2409 width=10)
> Remote SQL: UPDATE public.t1 SET c1 = c1
> -> Foreign Update on public.ft2 (cost=100.00..182.27 rows=2409 width=10)
> Remote SQL: UPDATE public.t2 SET c1 = c1
> (10 rows)
>
> Should we do something? Suggestions are welcome.
>
^ permalink raw reply [nested|flat] 976+ messages in thread
* Re: Optimization for updating foreign tables in Postgres FDW
2015-04-16 10:50 Re: Optimization for updating foreign tables in Postgres FDW Etsuro Fujita <[email protected]>
2015-04-16 10:57 ` Re: Optimization for updating foreign tables in Postgres FDW Amit Langote <[email protected]>
@ 2015-04-16 11:40 ` Etsuro Fujita <[email protected]>
2015-04-17 01:23 ` Re: Optimization for updating foreign tables in Postgres FDW Amit Langote <[email protected]>
0 siblings, 1 reply; 976+ messages in thread
From: Etsuro Fujita @ 2015-04-16 11:40 UTC (permalink / raw)
To: Amit Langote <[email protected]>; Albe Laurenz <[email protected]>; Tom Lane <[email protected]>; +Cc: Stephen Frost <[email protected]>; Shigeru Hanada <[email protected]>; Robert Haas <[email protected]>; pgsql-hackers
On 2015/04/16 19:57, Amit Langote wrote:
> On 16-04-2015 PM 07:50, Etsuro Fujita wrote:
>>> The EXPLAIN output has also been improved as discussed in [1].
>>
>> I noticed that the EXPLAIN for a pushed-down update (delete) on inheritance
>> childs doubly displays "Foreign Update" ("Foreign Delete"), one for
>> ForeignScan and the other for ModifyTable. Here is an example:
>>
>> postgres=# explain verbose update parent set c1 = c1;
>> QUERY PLAN
>> ------------------------------------------------------------------------------
>> Update on public.parent (cost=0.00..364.54 rows=4819 width=10)
>> Update on public.parent
>> Foreign Update on public.ft1
>> Foreign Update on public.ft2
>> -> Seq Scan on public.parent (cost=0.00..0.00 rows=1 width=10)
>> Output: parent.c1, parent.ctid
>> -> Foreign Update on public.ft1 (cost=100.00..182.27 rows=2409 width=10)
>> Remote SQL: UPDATE public.t1 SET c1 = c1
>> -> Foreign Update on public.ft2 (cost=100.00..182.27 rows=2409 width=10)
>> Remote SQL: UPDATE public.t2 SET c1 = c1
>> (10 rows)
>>
>> Should we do something? Suggestions are welcome.
>>From what I see in Tom's commit message[0] for FTI patch, this shouldn't be,
> right?
>
> To be specific, there should be "Foreign Scan" there as per the commit. Am I
> missing something?
As shown in the below example, this patch doesn't change the EXPLAIN
output for non-pushed-down update (delete) cases, but since we changed
the EXPLAIN output as discussed in [1], the patch doubly displays
"Foreign Update" ("Foreign Delete") for pushed-down update (delet) cases
like the above example.
postgres=# explain verbose update parent set c1 = trunc(random() * 9 +
1)::int;
QUERY PLAN
-------------------------------------------------------------------------------------------------------------
Update on public.parent (cost=0.00..452.06 rows=5461 width=6)
Update on public.parent
Foreign Update on public.ft1
Remote SQL: UPDATE public.t1 SET c1 = $2 WHERE ctid = $1
Foreign Update on public.ft2
Remote SQL: UPDATE public.t2 SET c1 = $2 WHERE ctid = $1
-> Seq Scan on public.parent (cost=0.00..0.01 rows=1 width=6)
Output: (trunc(((random() * '9'::double precision) +
'1'::double precision)))::integer, parent.ctid
-> Foreign Scan on public.ft1 (cost=100.00..226.03 rows=2730 width=6)
Output: (trunc(((random() * '9'::double precision) +
'1'::double precision)))::integer, ft1.ctid
Remote SQL: SELECT ctid FROM public.t1 FOR UPDATE
-> Foreign Scan on public.ft2 (cost=100.00..226.03 rows=2730 width=6)
Output: (trunc(((random() * '9'::double precision) +
'1'::double precision)))::integer, ft2.ctid
Remote SQL: SELECT ctid FROM public.t2 FOR UPDATE
(14 rows)
Best regards,
Etsuro Fujita
--
Sent via pgsql-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
^ permalink raw reply [nested|flat] 976+ messages in thread
* Re: Optimization for updating foreign tables in Postgres FDW
2015-04-16 10:50 Re: Optimization for updating foreign tables in Postgres FDW Etsuro Fujita <[email protected]>
2015-04-16 10:57 ` Re: Optimization for updating foreign tables in Postgres FDW Amit Langote <[email protected]>
2015-04-16 11:40 ` Re: Optimization for updating foreign tables in Postgres FDW Etsuro Fujita <[email protected]>
@ 2015-04-17 01:23 ` Amit Langote <[email protected]>
2015-04-17 03:35 ` Re: Optimization for updating foreign tables in Postgres FDW Etsuro Fujita <[email protected]>
0 siblings, 1 reply; 976+ messages in thread
From: Amit Langote @ 2015-04-17 01:23 UTC (permalink / raw)
To: Etsuro Fujita <[email protected]>; Albe Laurenz <[email protected]>; Tom Lane <[email protected]>; +Cc: Stephen Frost <[email protected]>; Shigeru Hanada <[email protected]>; Robert Haas <[email protected]>; pgsql-hackers
Fujita-san,
On 16-04-2015 PM 08:40, Etsuro Fujita wrote:
>> From what I see in Tom's commit message[0] for FTI patch, this shouldn't be,
>> right?
>>
>> To be specific, there should be "Foreign Scan" there as per the commit. Am I
>> missing something?
>
> As shown in the below example, this patch doesn't change the EXPLAIN
> output for non-pushed-down update (delete) cases, but since we changed
> the EXPLAIN output as discussed in [1], the patch doubly displays
> "Foreign Update" ("Foreign Delete") for pushed-down update (delet) cases
> like the above example.
>
> postgres=# explain verbose update parent set c1 = trunc(random() * 9 +
> 1)::int;
> QUERY PLAN
> -------------------------------------------------------------------------------------------------------------
> Update on public.parent (cost=0.00..452.06 rows=5461 width=6)
> Update on public.parent
> Foreign Update on public.ft1
> Remote SQL: UPDATE public.t1 SET c1 = $2 WHERE ctid = $1
> Foreign Update on public.ft2
> Remote SQL: UPDATE public.t2 SET c1 = $2 WHERE ctid = $1
> -> Seq Scan on public.parent (cost=0.00..0.01 rows=1 width=6)
> Output: (trunc(((random() * '9'::double precision) +
> '1'::double precision)))::integer, parent.ctid
> -> Foreign Scan on public.ft1 (cost=100.00..226.03 rows=2730 width=6)
> Output: (trunc(((random() * '9'::double precision) +
> '1'::double precision)))::integer, ft1.ctid
> Remote SQL: SELECT ctid FROM public.t1 FOR UPDATE
> -> Foreign Scan on public.ft2 (cost=100.00..226.03 rows=2730 width=6)
> Output: (trunc(((random() * '9'::double precision) +
> '1'::double precision)))::integer, ft2.ctid
> Remote SQL: SELECT ctid FROM public.t2 FOR UPDATE
> (14 rows)
>
I think I missed the point that you are talking about the result after the
patch for foreign udpate pushdown (which is the topic of this thread) has been
applied. Sorry about the noise.
By the way, one suggestion may be to attach a "(pushed down)" to the
ModifyTable's "Foreign Update". And in that case, there would be no mention of
corresponding scan node in the list below exactly because there would be none.
postgres=# explain verbose update parent set c1 = c1;
QUERY PLAN
------------------------------------------------------------------------------
Update on public.parent (cost=0.00..364.54 rows=4819 width=10)
Update on public.parent
Foreign Update (pushed down) on public.ft1
Foreign Update (pushed down) on public.ft2
-> Seq Scan on public.parent (cost=0.00..0.00 rows=1 width=10)
Output: parent.c1, parent.ctid
Thoughts?
Thanks,
Amit
--
Sent via pgsql-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
^ permalink raw reply [nested|flat] 976+ messages in thread
* Re: Optimization for updating foreign tables in Postgres FDW
2015-04-16 10:50 Re: Optimization for updating foreign tables in Postgres FDW Etsuro Fujita <[email protected]>
2015-04-16 10:57 ` Re: Optimization for updating foreign tables in Postgres FDW Amit Langote <[email protected]>
2015-04-16 11:40 ` Re: Optimization for updating foreign tables in Postgres FDW Etsuro Fujita <[email protected]>
2015-04-17 01:23 ` Re: Optimization for updating foreign tables in Postgres FDW Amit Langote <[email protected]>
@ 2015-04-17 03:35 ` Etsuro Fujita <[email protected]>
2015-04-17 04:16 ` Re: Optimization for updating foreign tables in Postgres FDW Amit Langote <[email protected]>
0 siblings, 1 reply; 976+ messages in thread
From: Etsuro Fujita @ 2015-04-17 03:35 UTC (permalink / raw)
To: Amit Langote <[email protected]>; Albe Laurenz <[email protected]>; Tom Lane <[email protected]>; +Cc: Stephen Frost <[email protected]>; Shigeru Hanada <[email protected]>; Robert Haas <[email protected]>; pgsql-hackers
On 2015/04/17 10:23, Amit Langote wrote:
> By the way, one suggestion may be to attach a "(pushed down)" to the
> ModifyTable's "Foreign Update". And in that case, there would be no mention of
> corresponding scan node in the list below exactly because there would be none.
>
> postgres=# explain verbose update parent set c1 = c1;
> QUERY PLAN
> ------------------------------------------------------------------------------
> Update on public.parent (cost=0.00..364.54 rows=4819 width=10)
> Update on public.parent
> Foreign Update (pushed down) on public.ft1
> Foreign Update (pushed down) on public.ft2
> -> Seq Scan on public.parent (cost=0.00..0.00 rows=1 width=10)
> Output: parent.c1, parent.ctid
Thanks for the suggestion!
I'm not sure that that is a good idea because (1) that is contrary to
the reality (the update pushdown patch lets the ForeignScan nodes do
UPDATE/DELETE RETURNING and then do nothing at ModifyTable!) and because
(2) that might cause the problem of associating subplans' update
information with subplans' scan information, pointed out by Tom [1].
Best regards,
Etsuro Fujita
[1] http://www.postgresql.org/message-id/[email protected]
--
Sent via pgsql-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
^ permalink raw reply [nested|flat] 976+ messages in thread
* Re: Optimization for updating foreign tables in Postgres FDW
2015-04-16 10:50 Re: Optimization for updating foreign tables in Postgres FDW Etsuro Fujita <[email protected]>
2015-04-16 10:57 ` Re: Optimization for updating foreign tables in Postgres FDW Amit Langote <[email protected]>
2015-04-16 11:40 ` Re: Optimization for updating foreign tables in Postgres FDW Etsuro Fujita <[email protected]>
2015-04-17 01:23 ` Re: Optimization for updating foreign tables in Postgres FDW Amit Langote <[email protected]>
2015-04-17 03:35 ` Re: Optimization for updating foreign tables in Postgres FDW Etsuro Fujita <[email protected]>
@ 2015-04-17 04:16 ` Amit Langote <[email protected]>
2015-04-20 07:40 ` Re: Optimization for updating foreign tables in Postgres FDW Etsuro Fujita <[email protected]>
0 siblings, 1 reply; 976+ messages in thread
From: Amit Langote @ 2015-04-17 04:16 UTC (permalink / raw)
To: Etsuro Fujita <[email protected]>; Albe Laurenz <[email protected]>; Tom Lane <[email protected]>; +Cc: Stephen Frost <[email protected]>; Shigeru Hanada <[email protected]>; Robert Haas <[email protected]>; pgsql-hackers
On 17-04-2015 PM 12:35, Etsuro Fujita wrote:
> On 2015/04/17 10:23, Amit Langote wrote:
>> By the way, one suggestion may be to attach a "(pushed down)" to the
>> ModifyTable's "Foreign Update". And in that case, there would be no mention of
>> corresponding scan node in the list below exactly because there would be none.
>>
>> postgres=# explain verbose update parent set c1 = c1;
>> QUERY PLAN
>> ------------------------------------------------------------------------------
>> Update on public.parent (cost=0.00..364.54 rows=4819 width=10)
>> Update on public.parent
>> Foreign Update (pushed down) on public.ft1
>> Foreign Update (pushed down) on public.ft2
>> -> Seq Scan on public.parent (cost=0.00..0.00 rows=1 width=10)
>> Output: parent.c1, parent.ctid
>
> Thanks for the suggestion!
>
> I'm not sure that that is a good idea because (1) that is contrary to
> the reality (the update pushdown patch lets the ForeignScan nodes do
> UPDATE/DELETE RETURNING and then do nothing at ModifyTable!) and because
Ah, the reality is exactly the reverse then. Thanks for your patience.
> (2) that might cause the problem of associating subplans' update
> information with subplans' scan information, pointed out by Tom [1].
>
Having realized how it really works now, my +1 to "Foreign Modifying Scan" for
cases of pushed down update as suggested by Albe Laurenz. I guess it would be
signaled by the proposed ForeignScan.CmdType being CMD_UPDATE / CMP_UPDATE
(/CMD_INSERT).
Thanks,
Amit
--
Sent via pgsql-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
^ permalink raw reply [nested|flat] 976+ messages in thread
* Re: Optimization for updating foreign tables in Postgres FDW
2015-04-16 10:50 Re: Optimization for updating foreign tables in Postgres FDW Etsuro Fujita <[email protected]>
2015-04-16 10:57 ` Re: Optimization for updating foreign tables in Postgres FDW Amit Langote <[email protected]>
2015-04-16 11:40 ` Re: Optimization for updating foreign tables in Postgres FDW Etsuro Fujita <[email protected]>
2015-04-17 01:23 ` Re: Optimization for updating foreign tables in Postgres FDW Amit Langote <[email protected]>
2015-04-17 03:35 ` Re: Optimization for updating foreign tables in Postgres FDW Etsuro Fujita <[email protected]>
2015-04-17 04:16 ` Re: Optimization for updating foreign tables in Postgres FDW Amit Langote <[email protected]>
@ 2015-04-20 07:40 ` Etsuro Fujita <[email protected]>
2015-04-21 01:07 ` Re: Optimization for updating foreign tables in Postgres FDW Kyotaro HORIGUCHI <[email protected]>
0 siblings, 1 reply; 976+ messages in thread
From: Etsuro Fujita @ 2015-04-20 07:40 UTC (permalink / raw)
To: Amit Langote <[email protected]>; Albe Laurenz <[email protected]>; Tom Lane <[email protected]>; +Cc: Stephen Frost <[email protected]>; Shigeru Hanada <[email protected]>; Robert Haas <[email protected]>; pgsql-hackers
On 2015/04/17 13:16, Amit Langote wrote:
> On 17-04-2015 PM 12:35, Etsuro Fujita wrote:
>> (2) that might cause the problem of associating subplans' update
>> information with subplans' scan information, pointed out by Tom [1].
> Having realized how it really works now, my +1 to "Foreign Modifying Scan" for
> cases of pushed down update as suggested by Albe Laurenz. I guess it would be
> signaled by the proposed ForeignScan.CmdType being CMD_UPDATE / CMP_UPDATE
> (/CMD_INSERT).
Thanks for the opinion! I think that that is an idea. However, I'd
like to propose to rename "Foreign Update" ("Foreign Delete") of
ModifyTable simply to "Update" ("Delete") not only because (1) that
solves the duplication problem but also because (2) ISTM that is
consistent with the non-inherited updates in both of the
non-pushed-down-update case and the pushed-down-update case. Here are
examples for (2).
* Inherited and non-inherited updates for the non-pushed-down case:
postgres=# explain verbose update parent set c1 = trunc(random() * 9 +
1)::int;
QUERY PLAN
-------------------------------------------------------------------------------------------------------------
Update on public.parent (cost=0.00..452.06 rows=5461 width=6)
Update on public.parent
Update on public.ft1
Remote SQL: UPDATE public.t1 SET c1 = $2 WHERE ctid = $1
Update on public.ft2
Remote SQL: UPDATE public.t2 SET c1 = $2 WHERE ctid = $1
-> Seq Scan on public.parent (cost=0.00..0.01 rows=1 width=6)
Output: (trunc(((random() * '9'::double precision) +
'1'::double precision)))::integer, parent.ctid
-> Foreign Scan on public.ft1 (cost=100.00..226.03 rows=2730 width=6)
Output: (trunc(((random() * '9'::double precision) +
'1'::double precision)))::integer, ft1.ctid
Remote SQL: SELECT ctid FROM public.t1 FOR UPDATE
-> Foreign Scan on public.ft2 (cost=100.00..226.03 rows=2730 width=6)
Output: (trunc(((random() * '9'::double precision) +
'1'::double precision)))::integer, ft2.ctid
Remote SQL: SELECT ctid FROM public.t2 FOR UPDATE
(14 rows)
postgres=# explain verbose update ft1 set c1 = trunc(random() * 9 + 1)::int;
QUERY PLAN
------------------------------------------------------------------------------------------------------
Update on public.ft1 (cost=100.00..226.03 rows=2730 width=6)
Remote SQL: UPDATE public.t1 SET c1 = $2 WHERE ctid = $1
-> Foreign Scan on public.ft1 (cost=100.00..226.03 rows=2730 width=6)
Output: (trunc(((random() * '9'::double precision) +
'1'::double precision)))::integer, ctid
Remote SQL: SELECT ctid FROM public.t1 FOR UPDATE
(5 rows)
* Inherited and non-inherited updates for the pushed-down case:
postgres=# explain verbose update parent set c1 = c1 + 1;
QUERY PLAN
------------------------------------------------------------------------------
Update on public.parent (cost=0.00..376.59 rows=4819 width=10)
Update on public.parent
Update on public.ft1
Update on public.ft2
-> Seq Scan on public.parent (cost=0.00..0.00 rows=1 width=10)
Output: (parent.c1 + 1), parent.ctid
-> Foreign Update on public.ft1 (cost=100.00..188.29 rows=2409
width=10)
Remote SQL: UPDATE public.t1 SET c1 = (c1 + 1)
-> Foreign Update on public.ft2 (cost=100.00..188.29 rows=2409
width=10)
Remote SQL: UPDATE public.t2 SET c1 = (c1 + 1)
(10 rows)
postgres=# explain verbose update ft1 set c1 = c1 + 1;
QUERY PLAN
------------------------------------------------------------------------------
Update on public.ft1 (cost=100.00..188.29 rows=2409 width=10)
-> Foreign Update on public.ft1 (cost=100.00..188.29 rows=2409
width=10)
Remote SQL: UPDATE public.t1 SET c1 = (c1 + 1)
(3 rows)
Comments are welcome.
Best regards,
Etsuro Fujita
--
Sent via pgsql-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
^ permalink raw reply [nested|flat] 976+ messages in thread
* Re: Optimization for updating foreign tables in Postgres FDW
2015-04-16 10:50 Re: Optimization for updating foreign tables in Postgres FDW Etsuro Fujita <[email protected]>
2015-04-16 10:57 ` Re: Optimization for updating foreign tables in Postgres FDW Amit Langote <[email protected]>
2015-04-16 11:40 ` Re: Optimization for updating foreign tables in Postgres FDW Etsuro Fujita <[email protected]>
2015-04-17 01:23 ` Re: Optimization for updating foreign tables in Postgres FDW Amit Langote <[email protected]>
2015-04-17 03:35 ` Re: Optimization for updating foreign tables in Postgres FDW Etsuro Fujita <[email protected]>
2015-04-17 04:16 ` Re: Optimization for updating foreign tables in Postgres FDW Amit Langote <[email protected]>
2015-04-20 07:40 ` Re: Optimization for updating foreign tables in Postgres FDW Etsuro Fujita <[email protected]>
@ 2015-04-21 01:07 ` Kyotaro HORIGUCHI <[email protected]>
2015-04-21 06:35 ` Re: Optimization for updating foreign tables in Postgres FDW Etsuro Fujita <[email protected]>
0 siblings, 1 reply; 976+ messages in thread
From: Kyotaro HORIGUCHI @ 2015-04-21 01:07 UTC (permalink / raw)
To: [email protected]; +Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; pgsql-hackers
Hi,
At Mon, 20 Apr 2015 16:40:52 +0900, Etsuro Fujita <[email protected]> wrote in <[email protected]>
> On 2015/04/17 13:16, Amit Langote wrote:
> > On 17-04-2015 PM 12:35, Etsuro Fujita wrote:
> >> (2) that might cause the problem of associating subplans' update
> >> information with subplans' scan information, pointed out by Tom [1].
>
> > Having realized how it really works now, my +1 to "Foreign Modifying Scan" for
> > cases of pushed down update as suggested by Albe Laurenz. I guess it would be
> > signaled by the proposed ForeignScan.CmdType being CMD_UPDATE / CMP_UPDATE
> > (/CMD_INSERT).
>
> Thanks for the opinion! I think that that is an idea. However, I'd
> like to propose to rename "Foreign Update" ("Foreign Delete") of
> ModifyTable simply to "Update" ("Delete") not only because (1) that
> solves the duplication problem but also because (2) ISTM that is
> consistent with the non-inherited updates in both of the
> non-pushed-down-update case and the pushed-down-update case. Here are
> examples for (2).
Update node without "Foreign" that runs "Remote SQL" looks to me
somewhat unusual..
It seems to me that the problem is "Foreign Update"s for
ModifyTable that does nothing eventually. Even though I don't
understand this fully, especially what "Foreign Update" for
ModifyTable does when "Foreign Update" in place of "Foreign Scan"
finished substantial work, I think the ForeignUpdate nodes should
be removed during planning if it is really ineffective, or such
"Foreign Update"s shoud be renamed or provided with some
explaination in explain output if it does anything or unremovable
from some reason.
If removed it looks like,
| =# explain verbose update p set b = b + 1;
| QUERY PLAN
| ------------------------------------------------------------------------------
| Update on public.p (cost=0.00..360.08 rows=4311 width=14)
| Update on public.p
| -> Seq Scan on public.p (cost=0.00..0.00 rows=1 width=14)
| Output: p.a, (p.b + 1), p.ctid
| -> Foreign Update on public.ft1 (cost=100.00..180.04 rows=2155 width=14)
| Remote SQL: UPDATE public.t1 SET b = (b + 1)
| -> Foreign Update on public.ft2 (cost=100.00..180.04 rows=2155 width=14)
| Remote SQL: UPDATE public.t2 SET b = (b + 1)
regards,
> * Inherited and non-inherited updates for the non-pushed-down case:
>
> postgres=# explain verbose update parent set c1 = trunc(random() * 9 +
> 1)::int;
> QUERY PLAN
> -------------------------------------------------------------------------------------------------------------
> Update on public.parent (cost=0.00..452.06 rows=5461 width=6)
> Update on public.parent
> Update on public.ft1
> Remote SQL: UPDATE public.t1 SET c1 = $2 WHERE ctid = $1
> Update on public.ft2
> Remote SQL: UPDATE public.t2 SET c1 = $2 WHERE ctid = $1
> -> Seq Scan on public.parent (cost=0.00..0.01 rows=1 width=6)
> Output: (trunc(((random() * '9'::double precision) +
> '1'::double precision)))::integer, parent.ctid
> -> Foreign Scan on public.ft1 (cost=100.00..226.03 rows=2730 width=6)
> Output: (trunc(((random() * '9'::double precision) +
> '1'::double precision)))::integer, ft1.ctid
> Remote SQL: SELECT ctid FROM public.t1 FOR UPDATE
> -> Foreign Scan on public.ft2 (cost=100.00..226.03 rows=2730 width=6)
> Output: (trunc(((random() * '9'::double precision) +
> '1'::double precision)))::integer, ft2.ctid
> Remote SQL: SELECT ctid FROM public.t2 FOR UPDATE
> (14 rows)
>
> postgres=# explain verbose update ft1 set c1 = trunc(random() * 9 + 1)::int;
> QUERY PLAN
> ------------------------------------------------------------------------------------------------------
> Update on public.ft1 (cost=100.00..226.03 rows=2730 width=6)
> Remote SQL: UPDATE public.t1 SET c1 = $2 WHERE ctid = $1
> -> Foreign Scan on public.ft1 (cost=100.00..226.03 rows=2730 width=6)
> Output: (trunc(((random() * '9'::double precision) +
> '1'::double precision)))::integer, ctid
> Remote SQL: SELECT ctid FROM public.t1 FOR UPDATE
> (5 rows)
>
> * Inherited and non-inherited updates for the pushed-down case:
>
> postgres=# explain verbose update parent set c1 = c1 + 1;
> QUERY PLAN
> ------------------------------------------------------------------------------
> Update on public.parent (cost=0.00..376.59 rows=4819 width=10)
> Update on public.parent
> Update on public.ft1
> Update on public.ft2
> -> Seq Scan on public.parent (cost=0.00..0.00 rows=1 width=10)
> Output: (parent.c1 + 1), parent.ctid
> -> Foreign Update on public.ft1 (cost=100.00..188.29 rows=2409
> width=10)
> Remote SQL: UPDATE public.t1 SET c1 = (c1 + 1)
> -> Foreign Update on public.ft2 (cost=100.00..188.29 rows=2409
> width=10)
> Remote SQL: UPDATE public.t2 SET c1 = (c1 + 1)
> (10 rows)
>
> postgres=# explain verbose update ft1 set c1 = c1 + 1;
> QUERY PLAN
> ------------------------------------------------------------------------------
> Update on public.ft1 (cost=100.00..188.29 rows=2409 width=10)
> -> Foreign Update on public.ft1 (cost=100.00..188.29 rows=2409
> width=10)
> Remote SQL: UPDATE public.t1 SET c1 = (c1 + 1)
> (3 rows)
>
> Comments are welcome.
--
Kyotaro Horiguchi
NTT Open Source Software Center
--
Sent via pgsql-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
^ permalink raw reply [nested|flat] 976+ messages in thread
* Re: Optimization for updating foreign tables in Postgres FDW
2015-04-16 10:50 Re: Optimization for updating foreign tables in Postgres FDW Etsuro Fujita <[email protected]>
2015-04-16 10:57 ` Re: Optimization for updating foreign tables in Postgres FDW Amit Langote <[email protected]>
2015-04-16 11:40 ` Re: Optimization for updating foreign tables in Postgres FDW Etsuro Fujita <[email protected]>
2015-04-17 01:23 ` Re: Optimization for updating foreign tables in Postgres FDW Amit Langote <[email protected]>
2015-04-17 03:35 ` Re: Optimization for updating foreign tables in Postgres FDW Etsuro Fujita <[email protected]>
2015-04-17 04:16 ` Re: Optimization for updating foreign tables in Postgres FDW Amit Langote <[email protected]>
2015-04-20 07:40 ` Re: Optimization for updating foreign tables in Postgres FDW Etsuro Fujita <[email protected]>
2015-04-21 01:07 ` Re: Optimization for updating foreign tables in Postgres FDW Kyotaro HORIGUCHI <[email protected]>
@ 2015-04-21 06:35 ` Etsuro Fujita <[email protected]>
2015-04-21 08:12 ` Re: Optimization for updating foreign tables in Postgres FDW Kyotaro HORIGUCHI <[email protected]>
0 siblings, 1 reply; 976+ messages in thread
From: Etsuro Fujita @ 2015-04-21 06:35 UTC (permalink / raw)
To: Kyotaro HORIGUCHI <[email protected]>; +Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; pgsql-hackers
On 2015/04/21 10:07, Kyotaro HORIGUCHI wrote:
> At Mon, 20 Apr 2015 16:40:52 +0900, Etsuro Fujita <[email protected]> wrote in <[email protected]>
>> However, I'd
>> like to propose to rename "Foreign Update" ("Foreign Delete") of
>> ModifyTable simply to "Update" ("Delete") not only because (1) that
>> solves the duplication problem but also because (2) ISTM that is
>> consistent with the non-inherited updates in both of the
>> non-pushed-down-update case and the pushed-down-update case. Here are
>> examples for (2).
> Update node without "Foreign" that runs "Remote SQL" looks to me
> somewhat unusual..
I think that has a similarity with the existing EXPLAIN outputs for
non-inherited non-pushed-down updates, as shown in the below exaple.
>> postgres=# explain verbose update ft1 set c1 = trunc(random() * 9 +
1)::int;
>> QUERY PLAN
>>
------------------------------------------------------------------------------------------------------
>> Update on public.ft1 (cost=100.00..226.03 rows=2730 width=6)
>> Remote SQL: UPDATE public.t1 SET c1 = $2 WHERE ctid = $1
>> -> Foreign Scan on public.ft1 (cost=100.00..226.03 rows=2730
width=6)
>> Output: (trunc(((random() * '9'::double precision) +
>> '1'::double precision)))::integer, ctid
>> Remote SQL: SELECT ctid FROM public.t1 FOR UPDATE
>> (5 rows)
> It seems to me that the problem is "Foreign Update"s for
> ModifyTable that does nothing eventually.
> I think the ForeignUpdate nodes should
> be removed during planning if it is really ineffective,
> If removed it looks like,
>
> | =# explain verbose update p set b = b + 1;
> | QUERY PLAN
> | ------------------------------------------------------------------------------
> | Update on public.p (cost=0.00..360.08 rows=4311 width=14)
> | Update on public.p
> | -> Seq Scan on public.p (cost=0.00..0.00 rows=1 width=14)
> | Output: p.a, (p.b + 1), p.ctid
> | -> Foreign Update on public.ft1 (cost=100.00..180.04 rows=2155 width=14)
> | Remote SQL: UPDATE public.t1 SET b = (b + 1)
> | -> Foreign Update on public.ft2 (cost=100.00..180.04 rows=2155 width=14)
> | Remote SQL: UPDATE public.t2 SET b = (b + 1)
On that point, I agree with Tom that that would cause the problem that
the user has to guess at which of the child plans goes with which target
relation of ModifyTable [1].
Thanks for the comments!
Best regards,
Etsuro Fujita
[1] http://www.postgresql.org/message-id/[email protected]
--
Sent via pgsql-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
^ permalink raw reply [nested|flat] 976+ messages in thread
* Re: Optimization for updating foreign tables in Postgres FDW
2015-04-16 10:50 Re: Optimization for updating foreign tables in Postgres FDW Etsuro Fujita <[email protected]>
2015-04-16 10:57 ` Re: Optimization for updating foreign tables in Postgres FDW Amit Langote <[email protected]>
2015-04-16 11:40 ` Re: Optimization for updating foreign tables in Postgres FDW Etsuro Fujita <[email protected]>
2015-04-17 01:23 ` Re: Optimization for updating foreign tables in Postgres FDW Amit Langote <[email protected]>
2015-04-17 03:35 ` Re: Optimization for updating foreign tables in Postgres FDW Etsuro Fujita <[email protected]>
2015-04-17 04:16 ` Re: Optimization for updating foreign tables in Postgres FDW Amit Langote <[email protected]>
2015-04-20 07:40 ` Re: Optimization for updating foreign tables in Postgres FDW Etsuro Fujita <[email protected]>
2015-04-21 01:07 ` Re: Optimization for updating foreign tables in Postgres FDW Kyotaro HORIGUCHI <[email protected]>
2015-04-21 06:35 ` Re: Optimization for updating foreign tables in Postgres FDW Etsuro Fujita <[email protected]>
@ 2015-04-21 08:12 ` Kyotaro HORIGUCHI <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Kyotaro HORIGUCHI @ 2015-04-21 08:12 UTC (permalink / raw)
To: [email protected]; +Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; pgsql-hackers
Hi, thank you. My understanding became a bit clearer.
At Tue, 21 Apr 2015 15:35:41 +0900, Etsuro Fujita <[email protected]> wrote in <[email protected]>
> On 2015/04/21 10:07, Kyotaro HORIGUCHI wrote:
> > At Mon, 20 Apr 2015 16:40:52 +0900, Etsuro Fujita
> > <[email protected]> wrote in
> > <[email protected]>
> >> However, I'd
> >> like to propose to rename "Foreign Update" ("Foreign Delete") of
> >> ModifyTable simply to "Update" ("Delete") not only because (1) that
> >> solves the duplication problem but also because (2) ISTM that is
> >> consistent with the non-inherited updates in both of the
> >> non-pushed-down-update case and the pushed-down-update case. Here are
> >> examples for (2).
>
> > Update node without "Foreign" that runs "Remote SQL" looks to me
> > somewhat unusual..
>
> I think that has a similarity with the existing EXPLAIN outputs for
> non-inherited non-pushed-down updates, as shown in the below exaple.
>
> >> postgres=# explain verbose update ft1 set c1 = trunc(random() * 9 +
> >> 1)::int;
> >> QUERY PLAN
> >>
> ------------------------------------------------------------------------------------------------------
> >> Update on public.ft1 (cost=100.00..226.03 rows=2730 width=6)
> >> Remote SQL: UPDATE public.t1 SET c1 = $2 WHERE ctid = $1
> >> -> Foreign Scan on public.ft1 (cost=100.00..226.03 rows=2730 width=6)
> >> Output: (trunc(((random() * '9'::double precision) +
> >> '1'::double precision)))::integer, ctid
> >> Remote SQL: SELECT ctid FROM public.t1 FOR UPDATE
> >> (5 rows)
Mmm.. It also looks confusing which needs to be fixed. Now
foreign tables are updated in two ways. One is ModifyTable on
foreign relation and the another is ForeignScan node of update
operation. Though I think that I understand the path to this
form, but I suppose they should confluent into one type of node,
perhaps ForegnScan node. Even if it is hardly archievable for
now, explain representation should be uniform.
Making ModifyTable on foreign relation have the representation
"Foreign Update", the explain results of the queries modifying
foreign tables are looks like,
Foreign Update on public.ft1 (...)
Remote SQL: UPDATE public.t1 ....
-> Foreign Scan on public.ft1...
Foreign Update on public.ft1 (...
Foreign Update on public.ft1 (...
Remote SQL: ...
If Foreign Update has only one internal representation, the two
same Foreign Updates are (ideally) easily eliminated during
planning and explain would naturally shows the following result.
Foreign Update on public.ft1 (...
Remote SQL: ...
But if not as is currently so, printing the result needs a bit
complicated calculation.
> > | Update on public.p (cost=0.00..360.08 rows=4311 width=14)
> > | Update on public.p
> > | -> Seq Scan on public.p (cost=0.00..0.00 rows=1 width=14)
> > | Output: p.a, (p.b + 1), p.ctid
> > | -> Foreign Update on public.ft1 (cost=100.00..180.04 rows=2155
> > | -> width=14)
> > | Remote SQL: UPDATE public.t1 SET b = (b + 1)
> > | -> Foreign Update on public.ft2 (cost=100.00..180.04 rows=2155
> > | -> width=14)
> > | Remote SQL: UPDATE public.t2 SET b = (b + 1)
>
> On that point, I agree with Tom that that would cause the problem that
> the user has to guess at which of the child plans goes with which
> target relation of ModifyTable [1].
>
> [1]
> http://www.postgresql.org/message-id/[email protected]
Yeah, that seems to make the plan to be understood
clerer. Combining Tom's suggestion and my suggestion together
would result in the following output of explain.
Update on public.p (cost=0.00..360.08 rows=4311 width=14)
Update on public.p
-> Seq Scan on public.p (cost=0.00..0.00 rows=1 width=14)
Output: p.a, (p.b + 1), p.ctid
Foreign Update on public.ft1 (cost=100.00..180.04 rows=2155 width=14)
Remote SQL: UPDATE public.t1 SET b = (b + 1)
Foreign Update on public.ft2 (cost=100.00..180.04 rows=2155 width=14)
Remote SQL: UPDATE public.t2 SET b = (b + 1)
And when not pushed down it would look like,
Update on public.p (cost=0.00..360.08 rows=4311 width=14)
Update on public.p
-> Seq Scan on public.p (cost=0.00..0.00 rows=1 width=14)
Output: p.a, (p.b + 1), p.ctid
Foreign Update on public.ft1 (cost=100.00..180.04 rows=2155 width=14)
Remote SQL: UPDATE public.t1 SET b = $2 WHERE ctid = $1
-> Foreign Scan on public.ft1 (cost=....)
Output: a, b, ctid
Remote SQL: SELECT a, ctid FROM public.t1 FOR UPDATE
Foreign Update on public.ft2 (cost=100.00..180.04 rows=2155 width=14)
Remote SQL: UPDATE public.t2 SET b = (b + 1)
-> Foreign Scan on public.ft2 (cost=....)
Output: a, b, ctid
Remote SQL: SELECT a, ctid FROM public.t2 FOR UPDATE
These looks quite reasonable *for me* :)
Of course, the same discussion is applicable on Foreign Delete.
What do you think about this?
Any further thoughts?
regards,
--
Kyotaro Horiguchi
NTT Open Source Software Center
--
Sent via pgsql-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
* [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding
@ 2026-03-12 15:05 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 976+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:05 UTC (permalink / raw)
---
src/backend/commands/cluster.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index da4919e497a..db3980b84f5 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -274,7 +274,7 @@ static List *get_tables_to_repack_partitioned(RepackCommand cmd,
static bool repack_is_permitted_for_relation(RepackCommand cmd,
Oid relid, Oid userid);
-static LogicalDecodingContext *setup_logical_decoding(Oid relid);
+static LogicalDecodingContext *repack_setup_logical_decoding(Oid relid);
static bool decode_concurrent_changes(LogicalDecodingContext *ctx,
DecodingWorkerShared *shared);
static void apply_concurrent_changes(BufFile *file, ChangeDest *dest);
@@ -612,7 +612,7 @@ cluster_rel(RepackCommand cmd, Relation OldHeap, Oid indexOid,
{
/*
* Make sure we have no XID assigned, otherwise call of
- * setup_logical_decoding() can cause a deadlock.
+ * repack_setup_logical_decoding() can cause a deadlock.
*
* The existence of transaction block actually does not imply that XID
* was already assigned, but it very likely is. We might want to check
@@ -2620,7 +2620,7 @@ change_useless_for_repack(XLogRecordBuffer *buf)
* crash by restarting all the work from scratch).
*/
static LogicalDecodingContext *
-setup_logical_decoding(Oid relid)
+repack_setup_logical_decoding(Oid relid)
{
Relation rel;
Oid toastrelid;
@@ -4044,7 +4044,7 @@ repack_worker_internal(dsm_segment *seg)
/*
* Prepare to capture the concurrent data changes ourselves.
*/
- decoding_ctx = setup_logical_decoding(shared->relid);
+ decoding_ctx = repack_setup_logical_decoding(shared->relid);
/* Announce that we're ready. */
SpinLockAcquire(&shared->mutex);
--
2.47.3
--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
filename="0003-remove-excess-parens-around-ereport.nocfbot.txt"
^ permalink raw reply [nested|flat] 976+ messages in thread
end of thread, other threads:[~2026-03-12 15:05 UTC | newest]
Thread overview: 976+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-04-16 10:50 Re: Optimization for updating foreign tables in Postgres FDW Etsuro Fujita <[email protected]>
2015-04-16 10:57 ` Amit Langote <[email protected]>
2015-04-16 11:40 ` Etsuro Fujita <[email protected]>
2015-04-17 01:23 ` Amit Langote <[email protected]>
2015-04-17 03:35 ` Etsuro Fujita <[email protected]>
2015-04-17 04:16 ` Amit Langote <[email protected]>
2015-04-20 07:40 ` Etsuro Fujita <[email protected]>
2015-04-21 01:07 ` Kyotaro HORIGUCHI <[email protected]>
2015-04-21 06:35 ` Etsuro Fujita <[email protected]>
2015-04-21 08:12 ` Kyotaro HORIGUCHI <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro Herrera <[email protected]>
2026-03-12 15:05 [PATCH 2/9] rename setup_logical_decoding to repack_setup_logical_decoding Álvaro 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