Skip to content

Commit db0b9c3

Browse files
author
Artur Zakirov
committed
Fix bug #3: update will bloat?
1 parent 40239c0 commit db0b9c3

File tree

2 files changed

+716
-0
lines changed

2 files changed

+716
-0
lines changed

pg_variables_record.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,8 @@ update_record(HashVariableEntry* variable, HeapTupleHeader tupleHeader)
281281
return false;
282282
}
283283

284+
/* Release old tuple */
285+
heap_freetuple(item->tuple);
284286
item->tuple = tuple;
285287

286288
MemoryContextSwitchTo(oldcxt);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy