pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Torsten Krah <krah.tm@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: running ANALYZE results in => duplicate key value violates unique constraint "pg_statistic_relid_att_inh_index"
Date: Wed, 06 Sep 2023 12:31:02 +0200
Message-ID: <1f2cb140b4b85a24a229f13ec559605ac8b5a180.camel@gmail.com> (raw)
In-Reply-To: <267004756.331292.1693994690228@office.mailbox.org>
References: <959e9b03415d2ac683d67059f74d0377f64b03f4.camel@gmail.com>
	<267004756.331292.1693994690228@office.mailbox.org>

Am Mittwoch, dem 06.09.2023 um 12:04 +0200 schrieb Erik Wienhold:
> > I am running that one (official docker image)
> > 
> > PostgreSQL 13.11 (Debian 13.11-1.pgdg110+1) on x86_64-pc-linux-gnu,
> > compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
> 
> Have you also tried with 13.12?

Yes, but it did also happen on previous versions before 13.11 / 13.12
sometimes (I just ignored it until now because it happens so rarely).

> 
> 
> Does the unique constraint violation always occur for the same row? 
> OID 2609
> is pg_description.

As I don't have a reproducer yet (I did not track stats but lets say it
runs fine for 100 / 200 times and 1 or 2 of those are failing with
those mentioned analyze errors - it may even be less than that) I can't
tell you if it fails always over that OID - I need to wait for it to
happen again, I will report here if it is the same - may take some time
;).


Torsten






view thread (8+ messages)  latest in thread

Message-ID: <1f2cb140b4b85a24a229f13ec559605ac8b5a180.camel@gmail.com>
Permalink:  ../1f2cb140b4b85a24a229f13ec559605ac8b5a180.camel@gmail.com/
Also on:    postgresql.org/message-id/1f2cb140b4b85a24a229f13ec559605ac8b5a180.camel@gmail.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 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-general@postgresql.org
  Cc: krah.tm@gmail.com
  Subject: Re: running ANALYZE results in => duplicate key value violates unique constraint "pg_statistic_relid_att_inh_index"
  In-Reply-To: <1f2cb140b4b85a24a229f13ec559605ac8b5a180.camel@gmail.com>
  References: <959e9b03415d2ac683d67059f74d0377f64b03f4.camel@gmail.com> <267004756.331292.1693994690228@office.mailbox.org> <1f2cb140b4b85a24a229f13ec559605ac8b5a180.camel@gmail.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