Re: Decoding speculative insert with toast leaks memory - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Decoding speculative insert with toast leaks memory
Date
Msg-id 2161205.1624459891@sss.pgh.pa.us
Whole thread Raw
In response to Re: Decoding speculative insert with toast leaks memory  (Tomas Vondra <tomas.vondra@enterprisedb.com>)
Responses Re: Decoding speculative insert with toast leaks memory
List pgsql-hackers
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.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: PG 14 release notes, first draft
Next
From: Peter Geoghegan
Date:
Subject: Re: Using indexUnchanged with nbtree