]> granicus.if.org Git - postgresql/commit
Fix ac218aa4f6 to work on versions before 9.5.
authorAndres Freund <andres@anarazel.de>
Tue, 27 Nov 2018 07:26:05 +0000 (23:26 -0800)
committerAndres Freund <andres@anarazel.de>
Tue, 27 Nov 2018 07:26:05 +0000 (23:26 -0800)
commit4c8750a9cc3402e4d8ec0b47901c2f9ca416b718
tree35cd78828c2c6b120b804ccdbd2682476b873703
parentac218aa4f6dff6dfb4bf2675b2d9f2f23da6a7c5
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
src/bin/pg_upgrade/check.c