pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix ac218aa4f6 to work on versions before 9.5.
Date: Tue, 27 Nov 2018 07:31:58 +0000
Message-ID: <E1gRXqg-0006fv-30@gemulon.postgresql.org> (raw)

Fix ac218aa4f6 to work on versions before 9.5.

Unfortunately ac218aa4f6 missed the fact that a reference to
'pg_catalog.regnamespace'::regclass wouldn't work before that type is
known. Fix that, by replacing the regtype usage with a join to
pg_type.

Reported-By: Tom Lane
Author: Andres Freund
Discussion: https://postgr.es/m/8863.1543297423@sss.pgh.pa.us
Backpatch: 9.5-, like ac218aa4f6

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4c8750a9cc3402e4d8ec0b47901c2f9ca416b718

Modified Files
--------------
src/bin/pg_upgrade/check.c | 23 ++++++++++++++---------
1 file changed, 14 insertions(+), 9 deletions(-)



view thread (5+ messages)  latest in thread

Message-ID: <E1gRXqg-0006fv-30@gemulon.postgresql.org>
Permalink:  ../E1gRXqg-0006fv-30@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1gRXqg-0006fv-30@gemulon.postgresql.org

 · 

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
  Subject: Re: pgsql: Fix ac218aa4f6 to work on versions before 9.5.
  In-Reply-To: <E1gRXqg-0006fv-30@gemulon.postgresql.org>
  References: <E1gRXqg-0006fv-30@gemulon.postgresql.org>

* 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