Re: BUG #14150: Attempted to delete invisible tuple

From: Peter Geoghegan <pg(at)heroku(dot)com>
To: virendra(at)idyllic-software(dot)com
Cc: pgsql-bugs <pgsql-bugs(at)postgresql(dot)org>, Peter Tripp <peter(at)chartio(dot)com>
Subject: Re: BUG #14150: Attempted to delete invisible tuple
Date: 2016-06-13 21:58:58
Message-ID: CAM3SWZTxnFtU23z71KCxM17uKs4_5Yn3x+owVr6Gco2UeVJ_FA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Mon, Jun 13, 2016 at 1:45 PM, Peter Geoghegan <pg(at)heroku(dot)com> wrote:
> Ideally, you'd be able to build Postgres yourself, with the attached
> patch applied (the 9.5 release branch should be used, of course). This
> will provoke a hard crash in the event of hitting this problem. You
> can set things up such that this produces a core dump for further
> debugging here (for the directly affected backend):
>
> https://wiki.postgresql.org/wiki/Getting_a_stack_trace_of_a_running_PostgreSQL_backend_on_Linux/BSD
>
> I'm particularly interested in seeing a backtrace from the core dump.
> That should make the general nature of the problem clear.

For the record, it's not clear that this is an independent bug to the
old bug that Andres described on the "HeapTupleSatisfiesToast()
busted?" thread:

https://www.postgresql.org/message-id/20160510070540.lyvintwdiw4ogmnw@alap3.anarazel.de

It does not seem at all unlikely that this is just another way of
hitting the problem. It might be that UPSERT makes it more likely that
the issue is hit in practice, since I've now seen two of these
reports.

--
Peter Geoghegan

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Tripp 2016-06-13 23:52:46 Re: BUG #14150: Attempted to delete invisible tuple
Previous Message Peter Geoghegan 2016-06-13 20:45:53 Re: BUG #14150: Attempted to delete invisible tuple