agora inbox for [email protected]help / color / mirror / Atom feed
CLUSTER TODO item 972+ messages / 4 participants [nested] [flat]
* CLUSTER TODO item @ 2001-09-23 12:59 Gavin Sherry <[email protected]> 0 siblings, 1 reply; 972+ messages in thread From: Gavin Sherry @ 2001-09-23 12:59 UTC (permalink / raw) To: pgsql-hackers Hi guys, I've been looking at CLUSTER today. I've put together a patch which recreates all the indices which current CLUSTER drops and copies relacl from the old pg_class tuple and puts it in the new one. I was working on updating pg_inherits to handle the new OID when it occured to me that pg_inherits is not the only system table corrupted. pg_trigger, pg_rewrite (and therefore views) and pg_description need to be updated as well. It seems like the easiest thing to do would be to update the new relation to have to OID of the old relation. Is there any reason why we would not want to do this? Gavin ^ permalink raw reply [nested|flat] 972+ messages in thread
* Re: CLUSTER TODO item @ 2001-09-23 13:58 Bruce Momjian <[email protected]> parent: Gavin Sherry <[email protected]> 0 siblings, 1 reply; 972+ messages in thread From: Bruce Momjian @ 2001-09-23 13:58 UTC (permalink / raw) To: Gavin Sherry <[email protected]>; +Cc: pgsql-hackers > Hi guys, > > I've been looking at CLUSTER today. I've put together a patch which > recreates all the indices which current CLUSTER drops and copies relacl > from the old pg_class tuple and puts it in the new one. > > I was working on updating pg_inherits to handle the new OID when it > occured to me that pg_inherits is not the only system table > corrupted. pg_trigger, pg_rewrite (and therefore views) and pg_description > need to be updated as well. It seems like the easiest thing to do would be > to update the new relation to have to OID of the old relation. Is there > any reason why we would not want to do this? We did strange things with this in the past because we didn't have pg_class.relfilenode. Now that we do, you can just recreate the heap table using a different oid filename and update relfilenode when you are done. Keep the same oid. Of course, as you noted, the old indexes have to be recreated because the heap has changed. -- Bruce Momjian | http://candle.pha.pa.us [email protected] | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026 ^ permalink raw reply [nested|flat] 972+ messages in thread
* Re: CLUSTER TODO item @ 2001-09-23 21:04 Tom Lane <[email protected]> parent: Bruce Momjian <[email protected]> 0 siblings, 1 reply; 972+ messages in thread From: Tom Lane @ 2001-09-23 21:04 UTC (permalink / raw) To: Bruce Momjian <[email protected]>; +Cc: Gavin Sherry <[email protected]>; pgsql-hackers >> I've been looking at CLUSTER today. I've put together a patch which >> recreates all the indices which current CLUSTER drops and copies relacl >> from the old pg_class tuple and puts it in the new one. This is entirely the wrong way to go at it. > We did strange things with this in the past because we didn't have > pg_class.relfilenode. Now that we do, you can just recreate the heap > table using a different oid filename and update relfilenode when you are > done. Yes. CLUSTER should not do one single thing to the system catalogs, except heap_update the pg_class rows for the table and indexes with new relfilenode values. That is the facility that a rewrite of CLUSTER was waiting for, so now that we have it, it's pointless to put more work into the old CLUSTER implementation. Note: I'm not convinced that relfilenode and pg_class.oid are each used in exactly the right spots. Once we have cases where they can differ, we may well find some bugs to flush out. But that needs to happen anyway, so don't let it dissuade you from doing CLUSTER the right way. regards, tom lane ^ permalink raw reply [nested|flat] 972+ messages in thread
* Re: CLUSTER TODO item @ 2001-09-24 05:19 Gavin Sherry <[email protected]> parent: Tom Lane <[email protected]> 0 siblings, 1 reply; 972+ messages in thread From: Gavin Sherry @ 2001-09-24 05:19 UTC (permalink / raw) To: Tom Lane <[email protected]>; +Cc: Bruce Momjian <[email protected]>; pgsql-hackers On Sun, 23 Sep 2001, Tom Lane wrote: > > Note: I'm not convinced that relfilenode and pg_class.oid are each > used in exactly the right spots. Once we have cases where they can > differ, we may well find some bugs to flush out. But that needs to > happen anyway, so don't let it dissuade you from doing CLUSTER the > right way. I think I may have broken stuff. I'm not sure. I've fiddled a fair bit but I'm still segfaulting in the storage manager. It might be because I'm heap_creating and then just stealing relfilenode - I don't know. Anyway, a patch is attached which clusters and then recreates the indexes - but then segfaults. Am I going about this all wrong? Thanks Gavin *** src/backend/commands/cluster.c Mon Sep 24 16:01:31 2001 --- src/backend/commands/cluster.c.orig Sun Sep 23 16:37:35 2001 *************** *** 24,33 **** #include "access/genam.h" #include "access/heapam.h" - #include "catalog/catname.h" #include "catalog/heap.h" #include "catalog/index.h" - #include "catalog/indexing.h" #include "catalog/pg_index.h" #include "catalog/pg_proc.h" #include "commands/cluster.h" --- 24,31 ---- *************** *** 37,46 **** #include "utils/builtins.h" #include "utils/syscache.h" #include "utils/temprel.h" ! #include "utils/relcache.h" // for RelationGetIndexList() static Oid copy_heap(Oid OIDOldHeap, char *NewName, bool istemp); ! static void new_index(Oid OIDOldIndex, Oid OIDHeap, char *NewIndexName); static void rebuildheap(Oid OIDNewHeap, Oid OIDOldHeap, Oid OIDOldIndex); /* --- 35,44 ---- #include "utils/builtins.h" #include "utils/syscache.h" #include "utils/temprel.h" ! static Oid copy_heap(Oid OIDOldHeap, char *NewName, bool istemp); ! static void copy_index(Oid OIDOldIndex, Oid OIDNewHeap, char *NewIndexName); static void rebuildheap(Oid OIDNewHeap, Oid OIDOldHeap, Oid OIDOldIndex); /* *************** *** 62,93 **** OIDOldIndex, OIDNewHeap; Relation OldHeap, ! OldIndex, ! NewHeap, ! relrelation; HeapTuple tuple; - TupleDesc tupdesc; - bool istemp; char NewHeapName[NAMEDATALEN]; char NewIndexName[NAMEDATALEN]; char saveoldrelname[NAMEDATALEN]; char saveoldindexname[NAMEDATALEN]; - List *OldIndexOids; - - Relation irelations[Num_pg_class_indices]; - - /* put the details of index name/oid of the OldHeap - * in here to speed things up and make it all cleaner - */ - - struct OldIndexData { - char oldindname[NAMEDATALEN]; - char newindname[NAMEDATALEN]; - }; - - List *OldIndices = NULL; - List *ltmp; /* * Copy the arguments into local storage, just to be safe. --- 60,72 ---- OIDOldIndex, OIDNewHeap; Relation OldHeap, ! OldIndex; HeapTuple tuple; bool istemp; char NewHeapName[NAMEDATALEN]; char NewIndexName[NAMEDATALEN]; char saveoldrelname[NAMEDATALEN]; char saveoldindexname[NAMEDATALEN]; /* * Copy the arguments into local storage, just to be safe. *************** *** 100,109 **** * duration of the transaction. */ OldHeap = heap_openr(saveoldrelname, AccessExclusiveLock); - - /* Preserve all indices. - gavin */ - OldIndexOids = RelationGetIndexList(OldHeap); - OIDOldHeap = RelationGetRelid(OldHeap); OldIndex = index_openr(saveoldindexname); --- 79,84 ---- *************** *** 135,213 **** */ snprintf(NewHeapName, NAMEDATALEN, "temp_%u", OIDOldHeap); /* ! * heap_create needs this. Unsure if I can just give it a ! * zero'd structure. Lets use the current one instead */ ! tupdesc = CreateTupleDescCopyConstr(RelationGetDescr(OldHeap)); - - NewHeap = heap_create(NewHeapName,tupdesc,istemp,true, - allowSystemTableMods); - - /* Is this required here ? */ CommandCounterIncrement(); ! OIDNewHeap = RelationGetRelid(NewHeap); /* ! * Copy the heap data into the new table in the desired order. */ ! rebuildheap(OIDNewHeap, OIDOldHeap, OIDOldIndex); ! heap_close(NewHeap,NoLock); ! /* To make the new heap's data visible. */ CommandCounterIncrement(); ! /* Update OldHeap to have new relfilenode */ ! relrelation = heap_openr(RelationRelationName,RowExclusiveLock); ! tuple = SearchSysCacheCopy(RELOID, ! ObjectIdGetDatum(OIDOldHeap), ! 0, 0, 0); ! Assert(HeapTupleIsValid(tuple)); ! ! ((Form_pg_class) GETSTRUCT(tuple))->relfilenode = ! NewHeap->rd_rel->relfilenode; ! ! simple_heap_update(relrelation,&tuple->t_self,tuple); ! ! /* update catalogue indices */ ! CatalogOpenIndices(Num_pg_class_indices, Name_pg_class_indices, irelations); ! CatalogIndexInsert(irelations, Num_pg_class_indices, relrelation, tuple); ! CatalogCloseIndices(Num_pg_class_indices, irelations); ! ! heap_close(relrelation,NoLock); ! ! /* Reindex */ ! /* copy to a new index, drop the old and rename */ ! ! foreach(ltmp,OldIndexOids) { ! Relation rel; ! char OldIndexName[NAMEDATALEN]; ! ! rel = RelationIdGetRelation((Oid)lfirst(ltmp)); ! StrNCpy(OldIndexName,RelationGetRelationName(rel),NAMEDATALEN); ! ! snprintf(NewIndexName,NAMEDATALEN,"temp_%u",(Oid)lfirst(ltmp)); ! ! new_index((Oid)lfirst(ltmp),OIDOldHeap,NewIndexName); ! ! index_drop((Oid)lfirst(ltmp)); ! CommandCounterIncrement(); ! ! renamerel(NewIndexName,OldIndexName); ! /* decrement the count to keep everyone happy */ ! RelationClose(rel); ! } ! FreeTupleDesc(tupdesc); ! heap_freetuple(tuple); } static void ! new_index(Oid OIDOldIndex, Oid OIDHeap, char *NewIndexName) { Relation OldIndex, NewHeap; --- 110,188 ---- */ snprintf(NewHeapName, NAMEDATALEN, "temp_%u", OIDOldHeap); + OIDNewHeap = copy_heap(OIDOldHeap, NewHeapName, istemp); + + /* We do not need CommandCounterIncrement() because copy_heap did it. */ + /* ! * Copy the heap data into the new table in the desired order. */ + rebuildheap(OIDNewHeap, OIDOldHeap, OIDOldIndex); + + /* To make the new heap's data visible. */ + CommandCounterIncrement(); + + /* Create new index over the tuples of the new heap. */ + snprintf(NewIndexName, NAMEDATALEN, "temp_%u", OIDOldIndex); + + copy_index(OIDOldIndex, OIDNewHeap, NewIndexName); + + CommandCounterIncrement(); ! /* Destroy old heap (along with its index) and rename new. */ ! heap_drop_with_catalog(saveoldrelname, allowSystemTableMods); CommandCounterIncrement(); ! renamerel(NewHeapName, saveoldrelname); ! ! /* This one might be unnecessary, but let's be safe. */ ! CommandCounterIncrement(); ! ! renamerel(NewIndexName, saveoldindexname); ! } ! ! static Oid ! copy_heap(Oid OIDOldHeap, char *NewName, bool istemp) ! { ! TupleDesc OldHeapDesc, ! tupdesc; ! Oid OIDNewHeap; ! Relation OldHeap; ! ! OldHeap = heap_open(OIDOldHeap, AccessExclusiveLock); ! OldHeapDesc = RelationGetDescr(OldHeap); ! /* ! * Need to make a copy of the tuple descriptor, since ! * heap_create_with_catalog modifies it. */ ! tupdesc = CreateTupleDescCopyConstr(OldHeapDesc); + OIDNewHeap = heap_create_with_catalog(NewName, tupdesc, + RELKIND_RELATION, istemp, + allowSystemTableMods); ! /* ! * Advance command counter so that the newly-created relation's ! * catalog tuples will be visible to heap_open. ! */ CommandCounterIncrement(); ! /* ! * If necessary, create a TOAST table for the new relation. Note that ! * AlterTableCreateToastTable ends with CommandCounterIncrement(), so ! * that the TOAST table will be visible for insertion. ! */ ! AlterTableCreateToastTable(NewName, true); ! heap_close(OldHeap, NoLock); ! return OIDNewHeap; } static void ! copy_index(Oid OIDOldIndex, Oid OIDNewHeap, char *NewIndexName) { Relation OldIndex, NewHeap; *************** *** 217,223 **** Form_pg_class Old_pg_index_relation_Form; IndexInfo *indexInfo; ! NewHeap = heap_open(OIDHeap, AccessExclusiveLock); OldIndex = index_open(OIDOldIndex); /* --- 192,198 ---- Form_pg_class Old_pg_index_relation_Form; IndexInfo *indexInfo; ! NewHeap = heap_open(OIDNewHeap, AccessExclusiveLock); OldIndex = index_open(OIDOldIndex); /* *************** *** 242,247 **** --- 217,223 ---- 0, 0, 0); Assert(Old_pg_index_relation_Tuple); Old_pg_index_relation_Form = (Form_pg_class) GETSTRUCT(Old_pg_index_relation_Tuple); + index_create(RelationGetRelationName(NewHeap), NewIndexName, indexInfo, *************** *** 251,259 **** Old_pg_index_Form->indisprimary, allowSystemTableMods); ! /* handled by index_drop */ ! ! // setRelhasindex(OIDHeap, true); ReleaseSysCache(Old_pg_index_Tuple); ReleaseSysCache(Old_pg_index_relation_Tuple); --- 227,233 ---- Old_pg_index_Form->indisprimary, allowSystemTableMods); ! setRelhasindex(OIDNewHeap, true); ReleaseSysCache(Old_pg_index_Tuple); ReleaseSysCache(Old_pg_index_relation_Tuple); Attachments: [text/plain] cluster2.patch (8.4K, ../../[email protected]/2-cluster2.patch) download | inline diff: *** src/backend/commands/cluster.c Mon Sep 24 16:01:31 2001 --- src/backend/commands/cluster.c.orig Sun Sep 23 16:37:35 2001 *************** *** 24,33 **** #include "access/genam.h" #include "access/heapam.h" - #include "catalog/catname.h" #include "catalog/heap.h" #include "catalog/index.h" - #include "catalog/indexing.h" #include "catalog/pg_index.h" #include "catalog/pg_proc.h" #include "commands/cluster.h" --- 24,31 ---- *************** *** 37,46 **** #include "utils/builtins.h" #include "utils/syscache.h" #include "utils/temprel.h" ! #include "utils/relcache.h" // for RelationGetIndexList() static Oid copy_heap(Oid OIDOldHeap, char *NewName, bool istemp); ! static void new_index(Oid OIDOldIndex, Oid OIDHeap, char *NewIndexName); static void rebuildheap(Oid OIDNewHeap, Oid OIDOldHeap, Oid OIDOldIndex); /* --- 35,44 ---- #include "utils/builtins.h" #include "utils/syscache.h" #include "utils/temprel.h" ! static Oid copy_heap(Oid OIDOldHeap, char *NewName, bool istemp); ! static void copy_index(Oid OIDOldIndex, Oid OIDNewHeap, char *NewIndexName); static void rebuildheap(Oid OIDNewHeap, Oid OIDOldHeap, Oid OIDOldIndex); /* *************** *** 62,93 **** OIDOldIndex, OIDNewHeap; Relation OldHeap, ! OldIndex, ! NewHeap, ! relrelation; HeapTuple tuple; - TupleDesc tupdesc; - bool istemp; char NewHeapName[NAMEDATALEN]; char NewIndexName[NAMEDATALEN]; char saveoldrelname[NAMEDATALEN]; char saveoldindexname[NAMEDATALEN]; - List *OldIndexOids; - - Relation irelations[Num_pg_class_indices]; - - /* put the details of index name/oid of the OldHeap - * in here to speed things up and make it all cleaner - */ - - struct OldIndexData { - char oldindname[NAMEDATALEN]; - char newindname[NAMEDATALEN]; - }; - - List *OldIndices = NULL; - List *ltmp; /* * Copy the arguments into local storage, just to be safe. --- 60,72 ---- OIDOldIndex, OIDNewHeap; Relation OldHeap, ! OldIndex; HeapTuple tuple; bool istemp; char NewHeapName[NAMEDATALEN]; char NewIndexName[NAMEDATALEN]; char saveoldrelname[NAMEDATALEN]; char saveoldindexname[NAMEDATALEN]; /* * Copy the arguments into local storage, just to be safe. *************** *** 100,109 **** * duration of the transaction. */ OldHeap = heap_openr(saveoldrelname, AccessExclusiveLock); - - /* Preserve all indices. - gavin */ - OldIndexOids = RelationGetIndexList(OldHeap); - OIDOldHeap = RelationGetRelid(OldHeap); OldIndex = index_openr(saveoldindexname); --- 79,84 ---- *************** *** 135,213 **** */ snprintf(NewHeapName, NAMEDATALEN, "temp_%u", OIDOldHeap); /* ! * heap_create needs this. Unsure if I can just give it a ! * zero'd structure. Lets use the current one instead */ ! tupdesc = CreateTupleDescCopyConstr(RelationGetDescr(OldHeap)); - - NewHeap = heap_create(NewHeapName,tupdesc,istemp,true, - allowSystemTableMods); - - /* Is this required here ? */ CommandCounterIncrement(); ! OIDNewHeap = RelationGetRelid(NewHeap); /* ! * Copy the heap data into the new table in the desired order. */ ! rebuildheap(OIDNewHeap, OIDOldHeap, OIDOldIndex); ! heap_close(NewHeap,NoLock); ! /* To make the new heap's data visible. */ CommandCounterIncrement(); ! /* Update OldHeap to have new relfilenode */ ! relrelation = heap_openr(RelationRelationName,RowExclusiveLock); ! tuple = SearchSysCacheCopy(RELOID, ! ObjectIdGetDatum(OIDOldHeap), ! 0, 0, 0); ! Assert(HeapTupleIsValid(tuple)); ! ! ((Form_pg_class) GETSTRUCT(tuple))->relfilenode = ! NewHeap->rd_rel->relfilenode; ! ! simple_heap_update(relrelation,&tuple->t_self,tuple); ! ! /* update catalogue indices */ ! CatalogOpenIndices(Num_pg_class_indices, Name_pg_class_indices, irelations); ! CatalogIndexInsert(irelations, Num_pg_class_indices, relrelation, tuple); ! CatalogCloseIndices(Num_pg_class_indices, irelations); ! ! heap_close(relrelation,NoLock); ! ! /* Reindex */ ! /* copy to a new index, drop the old and rename */ ! ! foreach(ltmp,OldIndexOids) { ! Relation rel; ! char OldIndexName[NAMEDATALEN]; ! ! rel = RelationIdGetRelation((Oid)lfirst(ltmp)); ! StrNCpy(OldIndexName,RelationGetRelationName(rel),NAMEDATALEN); ! ! snprintf(NewIndexName,NAMEDATALEN,"temp_%u",(Oid)lfirst(ltmp)); ! ! new_index((Oid)lfirst(ltmp),OIDOldHeap,NewIndexName); ! ! index_drop((Oid)lfirst(ltmp)); ! CommandCounterIncrement(); ! ! renamerel(NewIndexName,OldIndexName); ! /* decrement the count to keep everyone happy */ ! RelationClose(rel); ! } ! FreeTupleDesc(tupdesc); ! heap_freetuple(tuple); } static void ! new_index(Oid OIDOldIndex, Oid OIDHeap, char *NewIndexName) { Relation OldIndex, NewHeap; --- 110,188 ---- */ snprintf(NewHeapName, NAMEDATALEN, "temp_%u", OIDOldHeap); + OIDNewHeap = copy_heap(OIDOldHeap, NewHeapName, istemp); + + /* We do not need CommandCounterIncrement() because copy_heap did it. */ + /* ! * Copy the heap data into the new table in the desired order. */ + rebuildheap(OIDNewHeap, OIDOldHeap, OIDOldIndex); + + /* To make the new heap's data visible. */ + CommandCounterIncrement(); + + /* Create new index over the tuples of the new heap. */ + snprintf(NewIndexName, NAMEDATALEN, "temp_%u", OIDOldIndex); + + copy_index(OIDOldIndex, OIDNewHeap, NewIndexName); + + CommandCounterIncrement(); ! /* Destroy old heap (along with its index) and rename new. */ ! heap_drop_with_catalog(saveoldrelname, allowSystemTableMods); CommandCounterIncrement(); ! renamerel(NewHeapName, saveoldrelname); ! ! /* This one might be unnecessary, but let's be safe. */ ! CommandCounterIncrement(); ! ! renamerel(NewIndexName, saveoldindexname); ! } ! ! static Oid ! copy_heap(Oid OIDOldHeap, char *NewName, bool istemp) ! { ! TupleDesc OldHeapDesc, ! tupdesc; ! Oid OIDNewHeap; ! Relation OldHeap; ! ! OldHeap = heap_open(OIDOldHeap, AccessExclusiveLock); ! OldHeapDesc = RelationGetDescr(OldHeap); ! /* ! * Need to make a copy of the tuple descriptor, since ! * heap_create_with_catalog modifies it. */ ! tupdesc = CreateTupleDescCopyConstr(OldHeapDesc); + OIDNewHeap = heap_create_with_catalog(NewName, tupdesc, + RELKIND_RELATION, istemp, + allowSystemTableMods); ! /* ! * Advance command counter so that the newly-created relation's ! * catalog tuples will be visible to heap_open. ! */ CommandCounterIncrement(); ! /* ! * If necessary, create a TOAST table for the new relation. Note that ! * AlterTableCreateToastTable ends with CommandCounterIncrement(), so ! * that the TOAST table will be visible for insertion. ! */ ! AlterTableCreateToastTable(NewName, true); ! heap_close(OldHeap, NoLock); ! return OIDNewHeap; } static void ! copy_index(Oid OIDOldIndex, Oid OIDNewHeap, char *NewIndexName) { Relation OldIndex, NewHeap; *************** *** 217,223 **** Form_pg_class Old_pg_index_relation_Form; IndexInfo *indexInfo; ! NewHeap = heap_open(OIDHeap, AccessExclusiveLock); OldIndex = index_open(OIDOldIndex); /* --- 192,198 ---- Form_pg_class Old_pg_index_relation_Form; IndexInfo *indexInfo; ! NewHeap = heap_open(OIDNewHeap, AccessExclusiveLock); OldIndex = index_open(OIDOldIndex); /* *************** *** 242,247 **** --- 217,223 ---- 0, 0, 0); Assert(Old_pg_index_relation_Tuple); Old_pg_index_relation_Form = (Form_pg_class) GETSTRUCT(Old_pg_index_relation_Tuple); + index_create(RelationGetRelationName(NewHeap), NewIndexName, indexInfo, *************** *** 251,259 **** Old_pg_index_Form->indisprimary, allowSystemTableMods); ! /* handled by index_drop */ ! ! // setRelhasindex(OIDHeap, true); ReleaseSysCache(Old_pg_index_Tuple); ReleaseSysCache(Old_pg_index_relation_Tuple); --- 227,233 ---- Old_pg_index_Form->indisprimary, allowSystemTableMods); ! setRelhasindex(OIDNewHeap, true); ReleaseSysCache(Old_pg_index_Tuple); ReleaseSysCache(Old_pg_index_relation_Tuple); ^ permalink raw reply [nested|flat] 972+ messages in thread
* Re: CLUSTER TODO item @ 2001-10-11 20:37 Bruce Momjian <[email protected]> parent: Gavin Sherry <[email protected]> 0 siblings, 1 reply; 972+ messages in thread From: Bruce Momjian @ 2001-10-11 20:37 UTC (permalink / raw) To: Gavin Sherry <[email protected]>; +Cc: Tom Lane <[email protected]>; pgsql-hackers Can I get a status on this? > On Sun, 23 Sep 2001, Tom Lane wrote: > > > > Note: I'm not convinced that relfilenode and pg_class.oid are each > > used in exactly the right spots. Once we have cases where they can > > differ, we may well find some bugs to flush out. But that needs to > > happen anyway, so don't let it dissuade you from doing CLUSTER the > > right way. > > I think I may have broken stuff. I'm not sure. I've fiddled a fair bit but > I'm still segfaulting in the storage manager. It might be because I'm > heap_creating and then just stealing relfilenode - I don't know. > > Anyway, a patch is attached which clusters and then recreates the indexes > - but then segfaults. > > Am I going about this all wrong? > > Thanks > > Gavin Content-Description: [ Attachment, skipping... ] > > ---------------------------(end of broadcast)--------------------------- > TIP 5: Have you checked our extensive FAQ? > > http://www.postgresql.org/users-lounge/docs/faq.html -- Bruce Momjian | http://candle.pha.pa.us [email protected] | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026 ^ permalink raw reply [nested|flat] 972+ messages in thread
* Re: CLUSTER TODO item @ 2001-10-12 00:10 Tom Lane <[email protected]> parent: Bruce Momjian <[email protected]> 0 siblings, 1 reply; 972+ messages in thread From: Tom Lane @ 2001-10-12 00:10 UTC (permalink / raw) To: Bruce Momjian <[email protected]>; +Cc: Gavin Sherry <[email protected]>; pgsql-hackers Bruce Momjian <[email protected]> writes: > Can I get a status on this? It's not gonna happen for 7.2, I think ... regards, tom lane ^ permalink raw reply [nested|flat] 972+ messages in thread
* Re: CLUSTER TODO item @ 2001-10-12 03:35 Gavin Sherry <[email protected]> parent: Tom Lane <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Gavin Sherry @ 2001-10-12 03:35 UTC (permalink / raw) To: Tom Lane <[email protected]>; +Cc: Bruce Momjian <[email protected]>; pgsql-hackers On Thu, 11 Oct 2001, Tom Lane wrote: > Bruce Momjian <[email protected]> writes: > > Can I get a status on this? > > It's not gonna happen for 7.2, I think ... > > regards, tom lane I'd love it to go out with 7.2 but I've had no time to work on this patch lately. The reason I need time is that, after having fiddled a fair bit, I've decided that there really needs to be support for the creation of a new relfilenode in the storage manager. The current patch works like this: Create new heap (heap_create()) Copy tuples from old heap to new heap via index scan Form a new pg_class tuple simple_heap_update() update catalogue indices rebuild existing indices This causes an overflow in the localbuf.c so I guess this is wrong (included in patch on 24/sep) =). I've looked at various combinations of this: memcpy() the old Relation into a new Relation, update smgrunlink() the old Relation and heap_storage_create() the new relation. This dies because smgrunlink only schedules the drop, where as heap_storage_create() actually creates a file on the file system (open() returns with EEXIST). I've also tried just copying the structure but heap_open() relies on OID not relfilenode. I'm probably going about it the wrong way, but it strikes me that there needs to be a way to abstract the relfilenode from OID in the heap access code so that one can easily manipulate the heap on disk without having to play with OIDs. I would have included code examples/clearer description but the box I don't have access to the box I created the patches on atm =(. Gavin ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
* [PATCH 9/9] reuse existing variable by overwriting it @ 2026-03-12 15:14 Álvaro Herrera <[email protected]> 0 siblings, 0 replies; 972+ messages in thread From: Álvaro Herrera @ 2026-03-12 15:14 UTC (permalink / raw) --- src/backend/replication/pgoutput_repack/pgoutput_repack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c index c77564c4024..67442d07ab1 100644 --- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c +++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c @@ -250,12 +250,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation, /* ... and the attributes themselves, if any */ foreach_ptr(varlena, attr_val, attrs_ext) { - varlena *ext_val; - Size ext_val_size; - - ext_val = detoast_external_attr(attr_val); - ext_val_size = VARSIZE_ANY(ext_val); - BufFileWrite(file, ext_val, ext_val_size); + attr_val = detoast_external_attr(attr_val); + BufFileWrite(file, attr_val, VARSIZE_ANY(attr_val)); } /* Finally write the tuple size ... */ -- 2.47.3 --pnppmxqkefjd4hu2-- ^ permalink raw reply [nested|flat] 972+ messages in thread
end of thread, other threads:[~2026-03-12 15:14 UTC | newest] Thread overview: 972+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2001-09-23 12:59 CLUSTER TODO item Gavin Sherry <[email protected]> 2001-09-23 13:58 ` Bruce Momjian <[email protected]> 2001-09-23 21:04 ` Tom Lane <[email protected]> 2001-09-24 05:19 ` Gavin Sherry <[email protected]> 2001-10-11 20:37 ` Bruce Momjian <[email protected]> 2001-10-12 00:10 ` Tom Lane <[email protected]> 2001-10-12 03:35 ` Gavin Sherry <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by overwriting it Álvaro Herrera <[email protected]> 2026-03-12 15:14 [PATCH 9/9] reuse existing variable by 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