From: Michael Paquier <michael.paquier@gmail.com>
To: Tomas Vondra <tomas.vondra@2ndquadrant.com>
Cc: ktr@goldin-rudahl.com, pgsql-bugs@lists.postgresql.org, PG Bug reporting form <noreply@postgresql.org>
Subject: Re: BUG #15023: problem with pg_statistic
Date: Mon, 22 Jan 2018 10:01:47 +0900
Message-ID: <20180122010147.GB22690@paquier.xyz> (raw)
In-Reply-To: <95b5276d-2461-3312-bce0-670b0d29e3b0@2ndquadrant.com>
References: <20180121025924.3633.29967@wrigleys.postgresql.org>
<95b5276d-2461-3312-bce0-670b0d29e3b0@2ndquadrant.com>
On Sun, Jan 21, 2018 at 06:10:15PM +0100, Tomas Vondra wrote:
> In any case, this seems like a case of data corruption, possibly due to
> a bug (not sure which PostgreSQL version you're using) hardware failure
> or misconfiguration (e.g. system not handling fsync correctly).
Duplicated rows could be caused by the freeze-the-dead bug as well,
which is not released yet (doesn't fix duplicated existing rows
anyway). It may be possible to get rid of this problem by removing
manually duplicated rows by tid matching.
> If that's the case, I'd suspect there are other corrupted tables.
That's likely possible, and impossible to say with this amount of
information. In this case, what you should do first is stop your server,
take a deep breath, and then read the following guidelines:
https://wiki.postgresql.org/wiki/Corruption
--
Michael
Attachments:
signature.asc (application/pgp-signature, 832B) download
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-bugs@postgresql.org
Cc: michael.paquier@gmail.com, tomas.vondra@2ndquadrant.com, noreply@postgresql.org
Subject: Re: BUG #15023: problem with pg_statistic
In-Reply-To: <20180122010147.GB22690@paquier.xyz>
References: <20180121025924.3633.29967@wrigleys.postgresql.org> <95b5276d-2461-3312-bce0-670b0d29e3b0@2ndquadrant.com> <20180122010147.GB22690@paquier.xyz>
* 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