Re: aborting a non-speculative insertion

2019-06-11 Thread Robert Haas
On Tue, Jun 11, 2019 at 12:06 PM Andres Freund wrote: > > This is relevant to my little project to make the TOAST logic reusable > > by other AMs, because the comments in tableam.h suggest you can only > > complete a speculative insertion if you've previously performed one. > > If we allow any AM

Re: aborting a non-speculative insertion

2019-06-11 Thread Andres Freund
Hi, On 2019-06-11 11:47:07 -0400, Robert Haas wrote: > On Wed, Aug 17, 2016 at 8:06 PM Andres Freund wrote: > > This commit updates the heap_abort_speculative() function which aborts > > the conflicting tuple to use itself, via toast_delete, for deleting > > associated TOAST datums. Like before,

aborting a non-speculative insertion

2019-06-11 Thread Robert Haas
On Wed, Aug 17, 2016 at 8:06 PM Andres Freund wrote: > This commit updates the heap_abort_speculative() function which aborts > the conflicting tuple to use itself, via toast_delete, for deleting > associated TOAST datums. Like before, the inserted toast rows are not > marked as being speculative