agora inbox for [email protected]
help / color / mirror / Atom feedRe: idea: log_statement_sample_rate - bottom limit for sampling
979+ messages / 4 participants
[nested] [flat]
* Re: idea: log_statement_sample_rate - bottom limit for sampling
@ 2019-08-01 09:47 Adrien Nayrat <[email protected]>
2019-08-01 10:04 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tomas Vondra <[email protected]>
0 siblings, 1 reply; 979+ messages in thread
From: Adrien Nayrat @ 2019-08-01 09:47 UTC (permalink / raw)
To: [email protected]
Hi,
As we are at the end of this CF and there is still discussions about whether we
should revert log_statement_sample_limit and log_statement_sample_rate, or try
to fix it in v12.
I moved this patch to next commit fest and change status from "ready for
commiter" to "need review". I hope I didn't make a mistake.
Best regards,
Attachments:
[application/pgp-signature] signature.asc (488B, ../../[email protected]/2-signature.asc)
download
^ permalink raw reply [nested|flat] 979+ messages in thread
* Re: idea: log_statement_sample_rate - bottom limit for sampling
2019-08-01 09:47 Re: idea: log_statement_sample_rate - bottom limit for sampling Adrien Nayrat <[email protected]>
@ 2019-08-01 10:04 ` Tomas Vondra <[email protected]>
2019-08-02 07:53 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Adrien Nayrat <[email protected]>
0 siblings, 1 reply; 979+ messages in thread
From: Tomas Vondra @ 2019-08-01 10:04 UTC (permalink / raw)
To: Adrien Nayrat <[email protected]>; +Cc: [email protected]
On Thu, Aug 01, 2019 at 11:47:46AM +0200, Adrien Nayrat wrote:
>Hi,
>
>As we are at the end of this CF and there is still discussions about whether we
>should revert log_statement_sample_limit and log_statement_sample_rate, or try
>to fix it in v12.
>I moved this patch to next commit fest and change status from "ready for
>commiter" to "need review". I hope I didn't make a mistake.
>
Thanks. The RFC status was clearly stale, so thanks for updating. I should
have done that after my review. I think the patch would be moved to the
next CF at the end, but I might be wrong. In any case, I don't think
you've done any mistake.
As for the sampling patch - I think we'll end up reverting the feature for
v12 - it's far too late to rework it at this point. Sorry about that, I
know it's not a warm feeling when you get something done, and then it gets
reverted on the last minute. :-(
regards
--
Tomas Vondra http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
^ permalink raw reply [nested|flat] 979+ messages in thread
* Re: idea: log_statement_sample_rate - bottom limit for sampling
2019-08-01 09:47 Re: idea: log_statement_sample_rate - bottom limit for sampling Adrien Nayrat <[email protected]>
2019-08-01 10:04 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tomas Vondra <[email protected]>
@ 2019-08-02 07:53 ` Adrien Nayrat <[email protected]>
2019-08-04 19:10 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tomas Vondra <[email protected]>
0 siblings, 1 reply; 979+ messages in thread
From: Adrien Nayrat @ 2019-08-02 07:53 UTC (permalink / raw)
To: Tomas Vondra <[email protected]>; +Cc: [email protected]
On 8/1/19 12:04 PM, Tomas Vondra wrote:
> On Thu, Aug 01, 2019 at 11:47:46AM +0200, Adrien Nayrat wrote:
>> Hi,
>>
>> As we are at the end of this CF and there is still discussions about whether we
>> should revert log_statement_sample_limit and log_statement_sample_rate, or try
>> to fix it in v12.
>> I moved this patch to next commit fest and change status from "ready for
>> commiter" to "need review". I hope I didn't make a mistake.
>>
>
> Thanks. The RFC status was clearly stale, so thanks for updating. I should
> have done that after my review. I think the patch would be moved to the
> next CF at the end, but I might be wrong. In any case, I don't think
> you've done any mistake.
>
> As for the sampling patch - I think we'll end up reverting the feature for
> v12 - it's far too late to rework it at this point. Sorry about that, I
> know it's not a warm feeling when you get something done, and then it gets
> reverted on the last minute. :-(
>
Don't worry, I understand. It is better to add straigforward GUC in v13 than
confusionning in v12 we will regret.
^ permalink raw reply [nested|flat] 979+ messages in thread
* Re: idea: log_statement_sample_rate - bottom limit for sampling
2019-08-01 09:47 Re: idea: log_statement_sample_rate - bottom limit for sampling Adrien Nayrat <[email protected]>
2019-08-01 10:04 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tomas Vondra <[email protected]>
2019-08-02 07:53 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Adrien Nayrat <[email protected]>
@ 2019-08-04 19:10 ` Tomas Vondra <[email protected]>
2019-08-04 19:16 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tom Lane <[email protected]>
0 siblings, 1 reply; 979+ messages in thread
From: Tomas Vondra @ 2019-08-04 19:10 UTC (permalink / raw)
To: Adrien Nayrat <[email protected]>; +Cc: [email protected]
On Fri, Aug 02, 2019 at 09:53:40AM +0200, Adrien Nayrat wrote:
>On 8/1/19 12:04 PM, Tomas Vondra wrote:
>> On Thu, Aug 01, 2019 at 11:47:46AM +0200, Adrien Nayrat wrote:
>>> Hi,
>>>
>>> As we are at the end of this CF and there is still discussions about whether we
>>> should revert log_statement_sample_limit and log_statement_sample_rate, or try
>>> to fix it in v12.
>>> I moved this patch to next commit fest and change status from "ready for
>>> commiter" to "need review". I hope I didn't make a mistake.
>>>
>>
>> Thanks. The RFC status was clearly stale, so thanks for updating. I should
>> have done that after my review. I think the patch would be moved to the
>> next CF at the end, but I might be wrong. In any case, I don't think
>> you've done any mistake.
>>
>> As for the sampling patch - I think we'll end up reverting the feature for
>> v12 - it's far too late to rework it at this point. Sorry about that, I
>> know it's not a warm feeling when you get something done, and then it gets
>> reverted on the last minute. :-(
>>
>
>Don't worry, I understand. It is better to add straigforward GUC in v13 than
>confusionning in v12 we will regret.
>
OK, I have the revert ready. The one thing I'm wondering about is
whether we need to revert log_transaction_sample_rate too? I think it's
pretty much independent feature, so I think we can keep that. Opinions?
regards
--
Tomas Vondra http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
^ permalink raw reply [nested|flat] 979+ messages in thread
* Re: idea: log_statement_sample_rate - bottom limit for sampling
2019-08-01 09:47 Re: idea: log_statement_sample_rate - bottom limit for sampling Adrien Nayrat <[email protected]>
2019-08-01 10:04 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tomas Vondra <[email protected]>
2019-08-02 07:53 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Adrien Nayrat <[email protected]>
2019-08-04 19:10 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tomas Vondra <[email protected]>
@ 2019-08-04 19:16 ` Tom Lane <[email protected]>
2019-08-04 19:58 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tomas Vondra <[email protected]>
0 siblings, 1 reply; 979+ messages in thread
From: Tom Lane @ 2019-08-04 19:16 UTC (permalink / raw)
To: Tomas Vondra <[email protected]>; +Cc: Adrien Nayrat <[email protected]>; [email protected]
Tomas Vondra <[email protected]> writes:
> OK, I have the revert ready. The one thing I'm wondering about is
> whether we need to revert log_transaction_sample_rate too? I think it's
> pretty much independent feature, so I think we can keep that. Opinions?
Isn't the issue here the interaction between log_transaction_sample_rate
and log_min_duration_statement? Seems like we have that question
regardless of whether log_statement_sample_limit exists.
regards, tom lane
^ permalink raw reply [nested|flat] 979+ messages in thread
* Re: idea: log_statement_sample_rate - bottom limit for sampling
2019-08-01 09:47 Re: idea: log_statement_sample_rate - bottom limit for sampling Adrien Nayrat <[email protected]>
2019-08-01 10:04 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tomas Vondra <[email protected]>
2019-08-02 07:53 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Adrien Nayrat <[email protected]>
2019-08-04 19:10 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tomas Vondra <[email protected]>
2019-08-04 19:16 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tom Lane <[email protected]>
@ 2019-08-04 19:58 ` Tomas Vondra <[email protected]>
2019-08-04 20:25 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tom Lane <[email protected]>
0 siblings, 1 reply; 979+ messages in thread
From: Tomas Vondra @ 2019-08-04 19:58 UTC (permalink / raw)
To: Tom Lane <[email protected]>; +Cc: Adrien Nayrat <[email protected]>; [email protected]
On Sun, Aug 04, 2019 at 03:16:12PM -0400, Tom Lane wrote:
>Tomas Vondra <[email protected]> writes:
>> OK, I have the revert ready. The one thing I'm wondering about is
>> whether we need to revert log_transaction_sample_rate too? I think it's
>> pretty much independent feature, so I think we can keep that. Opinions?
>
>Isn't the issue here the interaction between log_transaction_sample_rate
>and log_min_duration_statement? Seems like we have that question
>regardless of whether log_statement_sample_limit exists.
>
No, that interaction only affects statement-level sampling.
For transaction-level sampling we do the sampling independently of the
statement duration, i.e. we when starting a transaction we determine
whether the whole transaction will be sampled. It has nothing to do with
the proposed log_statement_sample_limit.
regards
--
Tomas Vondra http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
^ permalink raw reply [nested|flat] 979+ messages in thread
* Re: idea: log_statement_sample_rate - bottom limit for sampling
2019-08-01 09:47 Re: idea: log_statement_sample_rate - bottom limit for sampling Adrien Nayrat <[email protected]>
2019-08-01 10:04 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tomas Vondra <[email protected]>
2019-08-02 07:53 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Adrien Nayrat <[email protected]>
2019-08-04 19:10 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tomas Vondra <[email protected]>
2019-08-04 19:16 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tom Lane <[email protected]>
2019-08-04 19:58 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tomas Vondra <[email protected]>
@ 2019-08-04 20:25 ` Tom Lane <[email protected]>
2019-08-04 20:48 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tomas Vondra <[email protected]>
0 siblings, 1 reply; 979+ messages in thread
From: Tom Lane @ 2019-08-04 20:25 UTC (permalink / raw)
To: Tomas Vondra <[email protected]>; +Cc: Adrien Nayrat <[email protected]>; [email protected]
Tomas Vondra <[email protected]> writes:
> On Sun, Aug 04, 2019 at 03:16:12PM -0400, Tom Lane wrote:
>> Isn't the issue here the interaction between log_transaction_sample_rate
>> and log_min_duration_statement?
> No, that interaction only affects statement-level sampling.
OK, I was confusing the features.
> For transaction-level sampling we do the sampling independently of the
> statement duration, i.e. we when starting a transaction we determine
> whether the whole transaction will be sampled. It has nothing to do with
> the proposed log_statement_sample_limit.
So, to clarify: our plan is that a given statement will be logged
if any of these various partial-logging features says to do so?
(And the knock on HEAD's behavior is exactly that it breaks that
independence for log_min_duration_statement.)
regards, tom lane
^ permalink raw reply [nested|flat] 979+ messages in thread
* Re: idea: log_statement_sample_rate - bottom limit for sampling
2019-08-01 09:47 Re: idea: log_statement_sample_rate - bottom limit for sampling Adrien Nayrat <[email protected]>
2019-08-01 10:04 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tomas Vondra <[email protected]>
2019-08-02 07:53 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Adrien Nayrat <[email protected]>
2019-08-04 19:10 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tomas Vondra <[email protected]>
2019-08-04 19:16 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tom Lane <[email protected]>
2019-08-04 19:58 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tomas Vondra <[email protected]>
2019-08-04 20:25 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tom Lane <[email protected]>
@ 2019-08-04 20:48 ` Tomas Vondra <[email protected]>
2019-08-04 21:41 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tomas Vondra <[email protected]>
0 siblings, 1 reply; 979+ messages in thread
From: Tomas Vondra @ 2019-08-04 20:48 UTC (permalink / raw)
To: Tom Lane <[email protected]>; +Cc: Adrien Nayrat <[email protected]>; [email protected]
On Sun, Aug 04, 2019 at 04:25:12PM -0400, Tom Lane wrote:
>Tomas Vondra <[email protected]> writes:
>> On Sun, Aug 04, 2019 at 03:16:12PM -0400, Tom Lane wrote:
>>> Isn't the issue here the interaction between log_transaction_sample_rate
>>> and log_min_duration_statement?
>
>> No, that interaction only affects statement-level sampling.
>
>OK, I was confusing the features.
>
>> For transaction-level sampling we do the sampling independently of the
>> statement duration, i.e. we when starting a transaction we determine
>> whether the whole transaction will be sampled. It has nothing to do with
>> the proposed log_statement_sample_limit.
>
>So, to clarify: our plan is that a given statement will be logged
>if any of these various partial-logging features says to do so?
>
Yes, I think that's the expected behavior.
- did it exceed log_min_duration_statement? -> log it
- is it part of sampled xact? -> log it
- maybe sample the statement (to be reverted / reimplemented)
>(And the knock on HEAD's behavior is exactly that it breaks that
>independence for log_min_duration_statement.)
>
Yeah. There's no way to use sampling, while ensure logging of all
queries longer than some limit.
regards
--
Tomas Vondra http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
^ permalink raw reply [nested|flat] 979+ messages in thread
* Re: idea: log_statement_sample_rate - bottom limit for sampling
2019-08-01 09:47 Re: idea: log_statement_sample_rate - bottom limit for sampling Adrien Nayrat <[email protected]>
2019-08-01 10:04 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tomas Vondra <[email protected]>
2019-08-02 07:53 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Adrien Nayrat <[email protected]>
2019-08-04 19:10 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tomas Vondra <[email protected]>
2019-08-04 19:16 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tom Lane <[email protected]>
2019-08-04 19:58 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tomas Vondra <[email protected]>
2019-08-04 20:25 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tom Lane <[email protected]>
2019-08-04 20:48 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tomas Vondra <[email protected]>
@ 2019-08-04 21:41 ` Tomas Vondra <[email protected]>
2019-11-06 18:21 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tomas Vondra <[email protected]>
0 siblings, 1 reply; 979+ messages in thread
From: Tomas Vondra @ 2019-08-04 21:41 UTC (permalink / raw)
To: Tom Lane <[email protected]>; +Cc: Adrien Nayrat <[email protected]>; [email protected]
On Sun, Aug 04, 2019 at 10:48:48PM +0200, Tomas Vondra wrote:
>On Sun, Aug 04, 2019 at 04:25:12PM -0400, Tom Lane wrote:
>>Tomas Vondra <[email protected]> writes:
>>>On Sun, Aug 04, 2019 at 03:16:12PM -0400, Tom Lane wrote:
>>>>Isn't the issue here the interaction between log_transaction_sample_rate
>>>>and log_min_duration_statement?
>>
>>>No, that interaction only affects statement-level sampling.
>>
>>OK, I was confusing the features.
>>
>>>For transaction-level sampling we do the sampling independently of the
>>>statement duration, i.e. we when starting a transaction we determine
>>>whether the whole transaction will be sampled. It has nothing to do with
>>>the proposed log_statement_sample_limit.
>>
>>So, to clarify: our plan is that a given statement will be logged
>>if any of these various partial-logging features says to do so?
>>
>
>Yes, I think that's the expected behavior.
>
>- did it exceed log_min_duration_statement? -> log it
>- is it part of sampled xact? -> log it
>- maybe sample the statement (to be reverted / reimplemented)
>
>>(And the knock on HEAD's behavior is exactly that it breaks that
>>independence for log_min_duration_statement.)
>>
>
>Yeah. There's no way to use sampling, while ensure logging of all
>queries longer than some limit.
>
FWIW I've reverted the log_statement_sample_rate (both from master and
REL_12_STABLE). May the buildfarm be merciful to me.
I've left the log_transaction_sample_rate in, as that seems unaffected
by this discussion.
regards
--
Tomas Vondra http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
^ permalink raw reply [nested|flat] 979+ messages in thread
* Re: idea: log_statement_sample_rate - bottom limit for sampling
2019-08-01 09:47 Re: idea: log_statement_sample_rate - bottom limit for sampling Adrien Nayrat <[email protected]>
2019-08-01 10:04 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tomas Vondra <[email protected]>
2019-08-02 07:53 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Adrien Nayrat <[email protected]>
2019-08-04 19:10 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tomas Vondra <[email protected]>
2019-08-04 19:16 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tom Lane <[email protected]>
2019-08-04 19:58 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tomas Vondra <[email protected]>
2019-08-04 20:25 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tom Lane <[email protected]>
2019-08-04 20:48 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tomas Vondra <[email protected]>
2019-08-04 21:41 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tomas Vondra <[email protected]>
@ 2019-11-06 18:21 ` Tomas Vondra <[email protected]>
2019-11-06 19:00 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Adrien Nayrat <[email protected]>
0 siblings, 1 reply; 979+ messages in thread
From: Tomas Vondra @ 2019-11-06 18:21 UTC (permalink / raw)
To: Tom Lane <[email protected]>; +Cc: Adrien Nayrat <[email protected]>; [email protected]
On Sun, Aug 04, 2019 at 11:41:54PM +0200, Tomas Vondra wrote:
>On Sun, Aug 04, 2019 at 10:48:48PM +0200, Tomas Vondra wrote:
>>On Sun, Aug 04, 2019 at 04:25:12PM -0400, Tom Lane wrote:
>>>Tomas Vondra <[email protected]> writes:
>>>>On Sun, Aug 04, 2019 at 03:16:12PM -0400, Tom Lane wrote:
>>>>>Isn't the issue here the interaction between log_transaction_sample_rate
>>>>>and log_min_duration_statement?
>>>
>>>>No, that interaction only affects statement-level sampling.
>>>
>>>OK, I was confusing the features.
>>>
>>>>For transaction-level sampling we do the sampling independently of the
>>>>statement duration, i.e. we when starting a transaction we determine
>>>>whether the whole transaction will be sampled. It has nothing to do with
>>>>the proposed log_statement_sample_limit.
>>>
>>>So, to clarify: our plan is that a given statement will be logged
>>>if any of these various partial-logging features says to do so?
>>>
>>
>>Yes, I think that's the expected behavior.
>>
>>- did it exceed log_min_duration_statement? -> log it
>>- is it part of sampled xact? -> log it
>>- maybe sample the statement (to be reverted / reimplemented)
>>
>>>(And the knock on HEAD's behavior is exactly that it breaks that
>>>independence for log_min_duration_statement.)
>>>
>>
>>Yeah. There's no way to use sampling, while ensure logging of all
>>queries longer than some limit.
>>
>
>FWIW I've reverted the log_statement_sample_rate (both from master and
>REL_12_STABLE). May the buildfarm be merciful to me.
>
>I've left the log_transaction_sample_rate in, as that seems unaffected
>by this discussion.
>
I've pushed the reworked version of log_statement_sample_rate patch [1].
If I understand correctly, that makes this patch unnecessary, and we
should mark it as rejected. Or do we still need it?
regards
--
Tomas Vondra http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
^ permalink raw reply [nested|flat] 979+ messages in thread
* Re: idea: log_statement_sample_rate - bottom limit for sampling
2019-08-01 09:47 Re: idea: log_statement_sample_rate - bottom limit for sampling Adrien Nayrat <[email protected]>
2019-08-01 10:04 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tomas Vondra <[email protected]>
2019-08-02 07:53 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Adrien Nayrat <[email protected]>
2019-08-04 19:10 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tomas Vondra <[email protected]>
2019-08-04 19:16 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tom Lane <[email protected]>
2019-08-04 19:58 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tomas Vondra <[email protected]>
2019-08-04 20:25 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tom Lane <[email protected]>
2019-08-04 20:48 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tomas Vondra <[email protected]>
2019-08-04 21:41 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tomas Vondra <[email protected]>
2019-11-06 18:21 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tomas Vondra <[email protected]>
@ 2019-11-06 19:00 ` Adrien Nayrat <[email protected]>
2019-11-06 19:22 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tomas Vondra <[email protected]>
0 siblings, 1 reply; 979+ messages in thread
From: Adrien Nayrat @ 2019-11-06 19:00 UTC (permalink / raw)
To: Tomas Vondra <[email protected]>; Tom Lane <[email protected]>; +Cc: [email protected]
On 11/6/19 7:21 PM, Tomas Vondra wrote:
> I've pushed the reworked version of log_statement_sample_rate patch [1].
> If I understand correctly, that makes this patch unnecessary, and we
> should mark it as rejected. Or do we still need it?
Yes, the goal of this patch was to disable sampling and log all queries whose
duration exceed log_statement_sample_limit.
For now it is possible just with log_min_duration_statement which log all
queries whose duration exceed it.
--
Adrien
^ permalink raw reply [nested|flat] 979+ messages in thread
* Re: idea: log_statement_sample_rate - bottom limit for sampling
2019-08-01 09:47 Re: idea: log_statement_sample_rate - bottom limit for sampling Adrien Nayrat <[email protected]>
2019-08-01 10:04 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tomas Vondra <[email protected]>
2019-08-02 07:53 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Adrien Nayrat <[email protected]>
2019-08-04 19:10 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tomas Vondra <[email protected]>
2019-08-04 19:16 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tom Lane <[email protected]>
2019-08-04 19:58 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tomas Vondra <[email protected]>
2019-08-04 20:25 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tom Lane <[email protected]>
2019-08-04 20:48 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tomas Vondra <[email protected]>
2019-08-04 21:41 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tomas Vondra <[email protected]>
2019-11-06 18:21 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Tomas Vondra <[email protected]>
2019-11-06 19:00 ` Re: idea: log_statement_sample_rate - bottom limit for sampling Adrien Nayrat <[email protected]>
@ 2019-11-06 19:22 ` Tomas Vondra <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Tomas Vondra @ 2019-11-06 19:22 UTC (permalink / raw)
To: Adrien Nayrat <[email protected]>; +Cc: Tom Lane <[email protected]>; [email protected]
On Wed, Nov 06, 2019 at 08:00:57PM +0100, Adrien Nayrat wrote:
>On 11/6/19 7:21 PM, Tomas Vondra wrote:
>> I've pushed the reworked version of log_statement_sample_rate patch [1].
>> If I understand correctly, that makes this patch unnecessary, and we
>> should mark it as rejected. Or do we still need it?
>
>Yes, the goal of this patch was to disable sampling and log all queries whose
>duration exceed log_statement_sample_limit.
>
>For now it is possible just with log_min_duration_statement which log all
>queries whose duration exceed it.
>
OK, I've marked it as rejected. If someone thinks we should still have
something like it, please submit a patch implementing it.
regards
--
Tomas Vondra http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it
@ 2026-03-12 15:14 Álvaro Herrera <[email protected]>
0 siblings, 0 replies; 979+ messages in thread
From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw)
---
src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index c77564c4024..67442d07ab1 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
/* ... and the attributes themselves, if any */
foreach_ptr(varlena, attr_val, attrs_ext)
{
- varlena *ext_val;
- Size ext_val_size;
-
- ext_val = detoast_external_attr(attr_val);
- ext_val_size = VARSIZE_ANY(ext_val);
- BufFileWrite(file, ext_val, ext_val_size);
+ attr_val = detoast_external_attr(attr_val);
+ BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val));
}
/* Finally write the tuple size ... */
--
2.47.3
--pnppmxqkefjd4hu2--
^ permalink raw reply [nested|flat] 979+ messages in thread
end of thread, other threads:[~2026-03-12 15:14 UTC | newest]
Thread overview: 979+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-08-01 09:47 Re: idea: log_statement_sample_rate - bottom limit for sampling Adrien Nayrat <[email protected]>
2019-08-01 10:04 ` Tomas Vondra <[email protected]>
2019-08-02 07:53 ` Adrien Nayrat <[email protected]>
2019-08-04 19:10 ` Tomas Vondra <[email protected]>
2019-08-04 19:16 ` Tom Lane <[email protected]>
2019-08-04 19:58 ` Tomas Vondra <[email protected]>
2019-08-04 20:25 ` Tom Lane <[email protected]>
2019-08-04 20:48 ` Tomas Vondra <[email protected]>
2019-08-04 21:41 ` Tomas Vondra <[email protected]>
2019-11-06 18:21 ` Tomas Vondra <[email protected]>
2019-11-06 19:00 ` Adrien Nayrat <[email protected]>
2019-11-06 19:22 ` Tomas Vondra <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]>
2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Á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