From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Andrew Dunstan <andrew@dunslane.net>
Cc: Andres Freund <andres@anarazel.de>
Cc: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Remove pg_class.relhaspkey
Date: Wed, 14 Mar 2018 20:11:32 -0300
Message-ID: <20180314231132.4ac5hlxhs7m2xbhg@alvherre.pgsql> (raw)
In-Reply-To: <1452.1521067003@sss.pgh.pa.us>
Tom Lane wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
> > Basing an MV on pg_class could always be difficult for pg_upgrade. Maybe
> > that's not a brilliant thing to do in a test (or maybe the test should drop
> > the MV after it's done).
>
> OH. Is that what it's doing? The cause of the failure is immediately
> obvious then. pg_class now lacks a relhaspkey column, but the matview
> is still dependent on one being there.
>
> I concur that this is not well-considered test design.
It seems very strange to me that the test_ddl_deparse database would be
used by a pg_upgrade test, but OK. I'll change it.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
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: alvherre@alvh.no-ip.org, tgl@sss.pgh.pa.us, andrew@dunslane.net, andres@anarazel.de, peter_e@gmx.net
Subject: Re: pgsql: Remove pg_class.relhaspkey
In-Reply-To: <20180314231132.4ac5hlxhs7m2xbhg@alvherre.pgsql>
References: <1452.1521067003@sss.pgh.pa.us> <20180314231132.4ac5hlxhs7m2xbhg@alvherre.pgsql>
* 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