pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Manuel Rigger <rigger.manuel@gmail.com>
Cc: PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Subject: Re: ANALYZE on parent table results in an error "tuple already updated by self"
Date: Wed, 24 Jul 2019 11:32:16 +0900
Message-ID: <20190724023216.GD14257@paquier.xyz> (raw)
In-Reply-To: <CA+u7OA69sgyCE0VhEpgZLBkR4X0frA2=ar8brntoH1vcvi-+WA@mail.gmail.com>
References: <CA+u7OA69sgyCE0VhEpgZLBkR4X0frA2=ar8brntoH1vcvi-+WA@mail.gmail.com>

Hi Manuel,

On Wed, Jul 24, 2019 at 03:19:19AM +0200, Manuel Rigger wrote:
> In the example below, ANALYZE unexpectedly results in an error.
> 
> CREATE TABLE t0(c0 boolean , c1 integer);
> CREATE TABLE t1(c0 boolean, c1 integer) INHERITS(t0);
> INSERT INTO t0(c1) VALUES (0);
> CREATE STATISTICS s0 ON c0, c1 FROM t0;
> ANALYZE t0; -- unexpected: ERROR:  tuple already updated by self
> 
> I found this on the latest trunk version.

This issue was introduced by v11 and has been already reported here:
https://www.postgresql.org/message-id/20190618231233.GA27470@telsasoft.com
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (4+ messages)  latest in thread

Message-ID: <20190724023216.GD14257@paquier.xyz>
Permalink:  ../20190724023216.GD14257@paquier.xyz/
Also on:    postgresql.org/message-id/20190724023216.GD14257@paquier.xyz

 · 

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: michael@paquier.xyz, rigger.manuel@gmail.com
  Subject: Re: ANALYZE on parent table results in an error "tuple already updated by self"
  In-Reply-To: <20190724023216.GD14257@paquier.xyz>
  References: <CA+u7OA69sgyCE0VhEpgZLBkR4X0frA2=ar8brntoH1vcvi-+WA@mail.gmail.com> <20190724023216.GD14257@paquier.xyz>

* 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