pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Justin Pryzby <pryzby@telsasoft.com>
To: pgsql-hackers@postgresql.org
Subject: Re: ANALYZE: ERROR:  tuple already updated by self
Date: Tue, 18 Jun 2019 18:57:55 -0500
Message-ID: <20190618235755.GA17759@telsasoft.com> (raw)
In-Reply-To: <20190618234858.GK16019@telsasoft.com>
References: <20190618231233.GA27470@telsasoft.com>
	<20190618234858.GK16019@telsasoft.com>

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






view thread (20+ messages)  latest in thread

Message-ID: <20190618235755.GA17759@telsasoft.com>
Permalink:  ../20190618235755.GA17759@telsasoft.com/
Also on:    postgresql.org/message-id/20190618235755.GA17759@telsasoft.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: pryzby@telsasoft.com
  Subject: Re: ANALYZE: ERROR:  tuple already updated by self
  In-Reply-To: <20190618235755.GA17759@telsasoft.com>

* 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