Re: ANALYZE: ERROR: tuple already updated by self - Mailing list pgsql-hackers

From Justin Pryzby
Subject Re: ANALYZE: ERROR: tuple already updated by self
Date
Msg-id 20190618235755.GA17759@telsasoft.com
Whole thread Raw
In response to Re: ANALYZE: ERROR: tuple already updated by self  (Justin Pryzby <pryzby@telsasoft.com>)
List 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
INTOt VALUES(1,1);ANALYZE t;
 
CREATE TABLE
CREATE TABLE
CREATE STATISTICS
INSERT 0 1
ERROR:  tuple already updated by self




pgsql-hackers by date:

Previous
From: Justin Pryzby
Date:
Subject: Re: ANALYZE: ERROR: tuple already updated by self
Next
From: Peter Geoghegan
Date:
Subject: Re: ANALYZE: ERROR: tuple already updated by self