pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Geoghegan <pg@bowt.ie>
Cc: Andres Freund <andres@anarazel.de>
Cc: PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Cc: deathlock13@gmail.com
Subject: Re: BUG #15309: ERROR: catalog is missing 1 attribute(s) for relid 760676 when max_parallel_maintenance_workers > 0
Date: Fri, 03 Aug 2018 13:58:46 -0400
Message-ID: <26037.1533319126@sss.pgh.pa.us> (raw)
In-Reply-To: <CAH2-WznFL_vCjNn2z5gB2p=F8sS-kowTETYZxF3gQE8KEo8NxA@mail.gmail.com>
References: <153329671686.1405.18298309097348420351@wrigleys.postgresql.org>
	<11288.1533304389@sss.pgh.pa.us>
	<CAH2-Wz=OMo_08eP1OmaG2H4uLa2iFrduzKCG66WngtW6tFF-sw@mail.gmail.com>
	<766D3DC5-6651-4B3A-9C03-0D4C76A31F4D@anarazel.de>
	<CAH2-WznFL_vCjNn2z5gB2p=F8sS-kowTETYZxF3gQE8KEo8NxA@mail.gmail.com>

Peter Geoghegan <pg@bowt.ie> writes:
> On Fri, Aug 3, 2018 at 10:11 AM, Andres Freund <andres@anarazel.de> wrote:
>> Maybe I'm missing something, but doesn't that error likely point to a bug in the new parallel index creation code, rather than the created indexes?

> I've certainly seen error messages like that with cases of
> catalog corruption. I recall repairing pg_attribute by hand when this
> happened, and then having to reindex the system catalogs.

> I don't really know what's wrong here, but I wouldn't be surprised if
> amcheck detected a problem. Let's see.

I think the OP's time would be more usefully spent on creating a
submittable test case.  We will want that whether or not amcheck
complains, because the mere fact of the complaint is not likely to be
enough to find the problem.  (I do agree that this smells like a problem
in parallel index build.)

			regards, tom lane




view thread (26+ messages)  latest in thread

Message-ID: <26037.1533319126@sss.pgh.pa.us>
Permalink:  ../26037.1533319126@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/26037.1533319126@sss.pgh.pa.us

 · 

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-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pg@bowt.ie, andres@anarazel.de, deathlock13@gmail.com
  Subject: Re: BUG #15309: ERROR: catalog is missing 1 attribute(s) for relid 760676 when max_parallel_maintenance_workers > 0
  In-Reply-To: <26037.1533319126@sss.pgh.pa.us>
  References: <153329671686.1405.18298309097348420351@wrigleys.postgresql.org> <11288.1533304389@sss.pgh.pa.us> <CAH2-Wz=OMo_08eP1OmaG2H4uLa2iFrduzKCG66WngtW6tFF-sw@mail.gmail.com> <766D3DC5-6651-4B3A-9C03-0D4C76A31F4D@anarazel.de> <CAH2-WznFL_vCjNn2z5gB2p=F8sS-kowTETYZxF3gQE8KEo8NxA@mail.gmail.com> <26037.1533319126@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