Re: Decoding speculative insert with toast leaks memory
Amit Kapila <amit.kapila16@gmail.com>
From: Amit Kapila <amit.kapila16@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Tomas Vondra <tomas.vondra@enterprisedb.com>,
Amit Langote <amitlangote09@gmail.com>, Dilip Kumar <dilipbalaut@gmail.com>, osumi.takamichi@fujitsu.com, Alvaro Herrera <alvherre@alvh.no-ip.org>, Andres Freund <andres@anarazel.de>, Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>, Peter Eisentraut <peter.eisentraut@2ndquadrant.com>, Petr Jelinek <petr.jelinek@enterprisedb.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-06-24T03:15:48Z
Lists: pgsql-hackers
On Wed, Jun 23, 2021 at 8:21 PM Tom Lane <tgl@sss.pgh.pa.us> wrote: > > Tomas Vondra <tomas.vondra@enterprisedb.com> writes: > > While rebasing a patch broken by 4daa140a2f5, I noticed that the patch > > does this: > > > @@ -63,6 +63,7 @@ enum ReorderBufferChangeType > > REORDER_BUFFER_CHANGE_INTERNAL_TUPLECID, > > REORDER_BUFFER_CHANGE_INTERNAL_SPEC_INSERT, > > REORDER_BUFFER_CHANGE_INTERNAL_SPEC_CONFIRM, > > + REORDER_BUFFER_CHANGE_INTERNAL_SPEC_ABORT, > > REORDER_BUFFER_CHANGE_TRUNCATE > > }; > > > Isn't that an undesirable ABI break for extensions? > > I think it's OK in HEAD. I agree we shouldn't do it like that > in the back branches. > Okay, I'll change this in back branches and HEAD to keep the code consistent, or do you think it is better to retain the order in HEAD as it is and just change it for back-branches? -- With Regards, Amit Kapila.
Commits
-
Fix ABI break introduced by commit 4daa140a2f.
- e95f617acc48 11.13 landed
- 72b51e214a2c 12.8 landed
- 56e366f6757d 13.4 landed
-
Fix valgrind issue in pgoutput.c.
- 357cb8f07f95 13.4 landed
-
Fix decoding of speculative aborts.
- 43acadfcebec 9.6.23 landed
- 35f56c124a7a 10.18 landed
- 1f8a934e0a86 11.13 landed
- 40ad7ebff6ca 12.8 landed
- 602a32a685e4 13.4 landed
- 4daa140a2f50 14.0 landed
-
pgoutput: Fix memory leak due to RelationSyncEntry.map.
- d2505681211b 13.4 cited
-
Fix initialization of RelationSyncEntry for streaming transactions.
- 69bd60672af6 14.0 cited
-
Implement streaming mode in ReorderBuffer.
- 7259736a6e5b 14.0 cited