pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Stephen Frost <sfrost@snowman.net>
Cc: Peter Eisentraut <peter_e@gmx.net>
Cc: andrew@dunslane.net
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Remove pg_class.relhaspkey
Date: Wed, 14 Mar 2018 15:20:04 -0700
Message-ID: <20180314222004.zzxvk55miwbmdafg@alap3.anarazel.de> (raw)
In-Reply-To: <20180314220907.GN2416@tamriel.snowman.net>
References: <E1ewCBY-0008TA-5I@gemulon.postgresql.org>
	<20180314211344.3x2bhr7bmqmtvor6@alap3.anarazel.de>
	<20180314220907.GN2416@tamriel.snowman.net>

On 2018-03-14 18:09:07 -0400, Stephen Frost wrote:
> Greetings,
> 
> * Andres Freund (andres@anarazel.de) wrote:
> > On 2018-03-14 19:35:40 +0000, Peter Eisentraut wrote:
> > > Remove pg_class.relhaspkey
> > > 
> > > It is not used for anything internally, and it cannot be relied on for
> > > external uses, so it can just be removed.  To correct recommended way to
> > > check for a primary key is in pg_index.
> > > 
> > > Discussion: https://www.postgresql.org/message-id/flat/b1a24c6c-6913-f89c-674e-0704f0ed69db@2ndquadrant.com
> > 
> > I'm not clear on the mechanics, and the animal doesn't show the critical
> > log. But this might have caused the issue, being the only commit between
> > runs:
> > 
> > https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=crake&dt=2018-03-14%2019%3A37%3A20
> > 
> > Andrew, any chance you could modify the module to capture
> > pg_upgrade_dump_*.log?
> 
> I've not quite tracked it down, but I would caution against blaming this
> commit- when doing some parallel regression test runs, I was seeing
> failures also, but they've not been consistent and I was trying to get
> something else done so didn't focus on them, so they may have been
> failures due to my environment, but might also be some kind of race
> condition in an earlier commit (my guess at the moment is actually the
> INOUT arguments for procedures commit...).
> 
> I'll try doing some more runs to see if I can reproduce it, but wanted
> to mention it, just to encourage people to consider looking more broadly
> than just this commit if they run into similar issues.

It failed identically twice in a row now, preceded by a significant
number of successful runs:
https://buildfarm.postgresql.org/cgi-bin/show_history.pl?nm=crake&br=HEAD
and afaik there's no concurrency during the cross-version test.  So
sure, it's possible that something else is to blame, but I'd not bet on
it.

Greetings,

Andres Freund




view thread (11+ messages)  latest in thread

Message-ID: <20180314222004.zzxvk55miwbmdafg@alap3.anarazel.de>
Permalink:  ../20180314222004.zzxvk55miwbmdafg@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20180314222004.zzxvk55miwbmdafg@alap3.anarazel.de

 · 

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-committers@postgresql.org
  Cc: andres@anarazel.de, sfrost@snowman.net, peter_e@gmx.net, andrew@dunslane.net
  Subject: Re: pgsql: Remove pg_class.relhaspkey
  In-Reply-To: <20180314222004.zzxvk55miwbmdafg@alap3.anarazel.de>
  References: <E1ewCBY-0008TA-5I@gemulon.postgresql.org> <20180314211344.3x2bhr7bmqmtvor6@alap3.anarazel.de> <20180314220907.GN2416@tamriel.snowman.net> <20180314222004.zzxvk55miwbmdafg@alap3.anarazel.de>

* 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