pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
ANALYZE on parent table results in an error "tuple already updated by self"
4+ messages / 3 participants
[nested] [flat]

* ANALYZE on parent table results in an error "tuple already updated by self"
@ 2019-07-24 01:19 Manuel Rigger <rigger.manuel@gmail.com>
  2019-07-24 02:15 ` Re: ANALYZE on parent table results in an error "tuple already updated by self" Andres Freund <andres@anarazel.de>
  2019-07-24 02:32 ` Re: ANALYZE on parent table results in an error "tuple already updated by self" Michael Paquier <michael@paquier.xyz>
  0 siblings, 2 replies; 4+ messages in thread

From: Manuel Rigger @ 2019-07-24 01:19 UTC (permalink / raw)
  To: PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>

Hi everyone,

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.

Best,
Manuel





^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: ANALYZE on parent table results in an error "tuple already updated by self"
  2019-07-24 01:19 ANALYZE on parent table results in an error "tuple already updated by self" Manuel Rigger <rigger.manuel@gmail.com>
@ 2019-07-24 02:15 ` Andres Freund <andres@anarazel.de>
  2019-07-24 07:17   ` Re: ANALYZE on parent table results in an error "tuple already updated by self" Manuel Rigger <rigger.manuel@gmail.com>
  1 sibling, 1 reply; 4+ messages in thread

From: Andres Freund @ 2019-07-24 02:15 UTC (permalink / raw)
  To: Manuel Rigger <rigger.manuel@gmail.com>; +Cc: PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>

Hi,

On 2019-07-24 03:19:19 +0200, Manuel Rigger wrote:
> Hi everyone,
> 
> 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.

Yea, that's the bug I was referencing earlier in your other thread:
https://www.postgresql.org/message-id/20190619000837.awy6j7h45ahd4vop%40alap3.anarazel.de

Greetings,

Andres Freund





^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: ANALYZE on parent table results in an error "tuple already updated by self"
  2019-07-24 01:19 ANALYZE on parent table results in an error "tuple already updated by self" Manuel Rigger <rigger.manuel@gmail.com>
  2019-07-24 02:15 ` Re: ANALYZE on parent table results in an error "tuple already updated by self" Andres Freund <andres@anarazel.de>
@ 2019-07-24 07:17   ` Manuel Rigger <rigger.manuel@gmail.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Manuel Rigger @ 2019-07-24 07:17 UTC (permalink / raw)
  To: Andres Freund <andres@anarazel.de>; +Cc: PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>

Thanks, and sorry for having overlooked this bug report!

Best,
Manuel

On Wed, Jul 24, 2019 at 8:00 AM Andres Freund <andres@anarazel.de> wrote:
>
> Hi,
>
> On 2019-07-24 03:19:19 +0200, Manuel Rigger wrote:
> > Hi everyone,
> >
> > 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.
>
> Yea, that's the bug I was referencing earlier in your other thread:
> https://www.postgresql.org/message-id/20190619000837.awy6j7h45ahd4vop%40alap3.anarazel.de
>
> Greetings,
>
> Andres Freund





^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: ANALYZE on parent table results in an error "tuple already updated by self"
  2019-07-24 01:19 ANALYZE on parent table results in an error "tuple already updated by self" Manuel Rigger <rigger.manuel@gmail.com>
@ 2019-07-24 02:32 ` Michael Paquier <michael@paquier.xyz>
  1 sibling, 0 replies; 4+ messages in thread

From: Michael Paquier @ 2019-07-24 02:32 UTC (permalink / raw)
  To: Manuel Rigger <rigger.manuel@gmail.com>; +Cc: PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>

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

^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2019-07-24 07:17 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-07-24 01:19 ANALYZE on parent table results in an error "tuple already updated by self" Manuel Rigger <rigger.manuel@gmail.com>
2019-07-24 02:15 ` Andres Freund <andres@anarazel.de>
2019-07-24 07:17   ` Manuel Rigger <rigger.manuel@gmail.com>
2019-07-24 02:32 ` Michael Paquier <michael@paquier.xyz>

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