pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Peter Geoghegan <pg@heroku.com>
Cc: Oskari Saarenmaa <os@aiven.io>
Cc: Michael Paquier <michael.paquier@gmail.com>
Cc: Peter Tripp <peter@chartio.com>
Cc: Virendra Negi <virendra@idyllic-software.com>
Cc: pgsql-bugs <pgsql-bugs@postgresql.org>
Subject: Re: BUG #14150: Attempted to delete invisible tuple
Date: Wed, 6 Jul 2016 17:16:48 -0700
Message-ID: <20160707001648.yw4op27voytg7map@alap3.anarazel.de> (raw)
In-Reply-To: <CAM3SWZSN9Dinfr+pujH5RHwycWgT68pkypYs5MUY2u2EjrN6tg@mail.gmail.com>
References: <CACOLnRWad2M9wA70vvjQ2GMOZMrfNkVOYVtq8+=au6JJX1oKjw@mail.gmail.com>
	<CAM3SWZT0-XQv5R1vR+Ji5V6F-GOjJbUXKV2owCaPTGhJujY0HA@mail.gmail.com>
	<CAB7nPqQSZVh==94uv8YS_WhNuaW+F1LFeA0vG+zSfxoBt5L88w@mail.gmail.com>
	<CAM3SWZRE3eYZyrJz78mTNB5nG0sB47=z+S-T8HSq3h-_2PzcYQ@mail.gmail.com>
	<CAB7nPqT4BSnyT+jK9Ys=yuHOe_v5KQ6e-yD7mzrsLC7=A2nfQA@mail.gmail.com>
	<88248a24-47d1-d575-a63f-2b56a09f82e2@aiven.io>
	<62f3793f-13d6-567c-e512-f29d1fd76d00@aiven.io>
	<CAM3SWZTBsp2E3vdJoLY3v5fnao+kqcgSR14RqKe7JBLBUBmi8g@mail.gmail.com>
	<20160706233336.irsrxqct3lc5vcwp@alap3.anarazel.de>
	<CAM3SWZSN9Dinfr+pujH5RHwycWgT68pkypYs5MUY2u2EjrN6tg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On 2016-07-06 17:14:30 -0700, Peter Geoghegan wrote:
> On Wed, Jul 6, 2016 at 4:33 PM, Andres Freund <andres@anarazel.de> wrote:
> >> We didn't simply neglect to make heap_abort_speculative() consider
> >> TOAST at all, though.
> >
> > Well, not quite, but nearly. Afaics it currently can only work if the
> > toasted columns have been inserted by a different command, before the
> > INSERT ON CONFLICT does anything. I don't see how it can work for newly
> > inserted toast data.  When heap_abort_speculative deletes toast data,
> > when would it *ever* not fail if the same command executed the toast
> > data?
> 
> Why would the toasted data ever not be newly inserted in practice?

Don't think so, atm.


> And so, in simpler words, you believe that any
> heap_abort_speculative() call to toast_delete() will cause this error
> to be raised?

Looks that way, yes.


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (58+ messages)  latest in thread

Message-ID: <20160707001648.yw4op27voytg7map@alap3.anarazel.de>
Permalink:  ../20160707001648.yw4op27voytg7map@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20160707001648.yw4op27voytg7map@alap3.anarazel.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: andres@anarazel.de, pg@heroku.com, os@aiven.io, michael.paquier@gmail.com, peter@chartio.com, virendra@idyllic-software.com
  Subject: Re: BUG #14150: Attempted to delete invisible tuple
  In-Reply-To: <20160707001648.yw4op27voytg7map@alap3.anarazel.de>
  References: <CACOLnRWad2M9wA70vvjQ2GMOZMrfNkVOYVtq8+=au6JJX1oKjw@mail.gmail.com> <CAM3SWZT0-XQv5R1vR+Ji5V6F-GOjJbUXKV2owCaPTGhJujY0HA@mail.gmail.com> <CAB7nPqQSZVh==94uv8YS_WhNuaW+F1LFeA0vG+zSfxoBt5L88w@mail.gmail.com> <CAM3SWZRE3eYZyrJz78mTNB5nG0sB47=z+S-T8HSq3h-_2PzcYQ@mail.gmail.com> <CAB7nPqT4BSnyT+jK9Ys=yuHOe_v5KQ6e-yD7mzrsLC7=A2nfQA@mail.gmail.com> <88248a24-47d1-d575-a63f-2b56a09f82e2@aiven.io> <62f3793f-13d6-567c-e512-f29d1fd76d00@aiven.io> <CAM3SWZTBsp2E3vdJoLY3v5fnao+kqcgSR14RqKe7JBLBUBmi8g@mail.gmail.com> <20160706233336.irsrxqct3lc5vcwp@alap3.anarazel.de> <CAM3SWZSN9Dinfr+pujH5RHwycWgT68pkypYs5MUY2u2EjrN6tg@mail.gmail.com> <20160707001648.yw4op27voytg7map@alap3.anarazel.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox