From: Tom Lane <tgl@sss.pgh.pa.us>
To: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: Alexander Kass <alexander.kass@jetbrains.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: No xmin in pg_database
Date: Thu, 02 Sep 2021 06:41:43 -0400
Message-ID: <2241619.1630579303@sss.pgh.pa.us> (raw)
In-Reply-To: <0cea1cb2929da04dc46a2fb198a7b54dc260cc17.camel@cybertec.at>
References: <CAPhX7d2NnttM+0R=NiRas+s-RTX696zUZwP-hM6BEo9vKpUHfQ@mail.gmail.com>
<0cea1cb2929da04dc46a2fb198a7b54dc260cc17.camel@cybertec.at>
Laurenz Albe <laurenz.albe@cybertec.at> writes:
> On Thu, 2021-09-02 at 08:50 +0300, Alexander Kass wrote:
>> We have a small number of users that do not have xmin in pg_database
>> (we've asked them to try `select xmin from pg_database` and got
>> `column xmin does not exist`).
> All PostgreSQL tables have "xmin", and all catalog tables do as well.
Indeed. This seems to be evidence of corruption in the pg_attribute
catalog. If you're really lucky, reindexing pg_attribute might fix
it, though I wonder what other problems there are. (It's odd though
that identical corruption would happen to different installations.)
regards, tom lane
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: tgl@sss.pgh.pa.us, laurenz.albe@cybertec.at, alexander.kass@jetbrains.com
Subject: Re: No xmin in pg_database
In-Reply-To: <2241619.1630579303@sss.pgh.pa.us>
References: <CAPhX7d2NnttM+0R=NiRas+s-RTX696zUZwP-hM6BEo9vKpUHfQ@mail.gmail.com> <0cea1cb2929da04dc46a2fb198a7b54dc260cc17.camel@cybertec.at> <2241619.1630579303@sss.pgh.pa.us>
* 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