Re: ANALYZE: ERROR: tuple already updated by self

From: Justin Pryzby <pryzby(at)telsasoft(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: ANALYZE: ERROR: tuple already updated by self
Date: 2019-06-18 23:57:55
Message-ID: 20190618235755.GA17759@telsasoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Jun 18, 2019 at 06:48:58PM -0500, Justin Pryzby wrote:
> On Tue, Jun 18, 2019 at 06:12:33PM -0500, Justin Pryzby wrote:
> > ts=# ANALYZE sectors;
> > ERROR: XX000: tuple already updated by self
> > LOCATION: simple_heap_update, heapam.c:4613

> Ah: the table is an inheritence parent. If I uninherit its child, there's no
> error during ANALYZE.

postgres=# CREATE TABLE t(i int,j int); CREATE TABLE u() INHERITS (t); CREATE STATISTICS t_stats ON i,j FROM t; INSERT INTO t VALUES(1,1);ANALYZE t;
CREATE TABLE
CREATE TABLE
CREATE STATISTICS
INSERT 0 1
ERROR: tuple already updated by self

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Geoghegan 2019-06-19 00:00:09 Re: ANALYZE: ERROR: tuple already updated by self
Previous Message Justin Pryzby 2019-06-18 23:48:58 Re: ANALYZE: ERROR: tuple already updated by self