pgsql: Allow composite types in catalog bootstrap

From: Tomas Vondra <tomas(dot)vondra(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Allow composite types in catalog bootstrap
Date: 2021-03-24 00:19:24
Message-ID: E1lOrF6-000194-3J@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Allow composite types in catalog bootstrap

When resolving types during catalog bootstrap, try to reload the pg_type
contents if a type is not found. That allows catalogs to contain
composite types, e.g. row types for other catalogs.

Author: Justin Pryzby
Reviewed-by: Dean Rasheed, Tomas Vondra
Discussion: https://postgr.es/m/ad7891d2-e90c-b446-9fe2-7419143847d7%40enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/79f6a942bdb958fbd7ef6870d5bf2e3cefb65da5

Modified Files
--------------
src/backend/bootstrap/bootstrap.c | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2021-03-24 00:36:32 pgsql: Reword slightly logs generated for index stats in autovacuum
Previous Message Peter Geoghegan 2021-03-23 23:11:27 pgsql: nbtree VACUUM: Cope with buggy opclasses.