| From: | Andres Freund <andres(at)anarazel(dot)de> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Fix ac218aa4f6 to work on versions before 9.5. |
| Date: | 2018-11-27 07:31:59 |
| Message-ID: | E1gRXqh-0006gH-RU@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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
------
REL_11_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/5ef8f08b541da5df1ac00a3c880578a8e3bf447c
Modified Files
--------------
src/bin/pg_upgrade/check.c | 23 ++++++++++++++---------
1 file changed, 14 insertions(+), 9 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andres Freund | 2018-11-27 07:32:01 | pgsql: Fix ac218aa4f6 to work on versions before 9.5. |
| Previous Message | Andres Freund | 2018-11-27 07:31:58 | pgsql: Fix ac218aa4f6 to work on versions before 9.5. |