Allow composite types in catalog bootstrap

Tomas Vondra <tomas.vondra@postgresql.org>

Commit: 79f6a942bdb958fbd7ef6870d5bf2e3cefb65da5
Author: Tomas Vondra <tomas.vondra@postgresql.org>
Date: 2021-03-23T23:47:52Z
Releases: 14.0
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

Files

PathChange+/−
src/backend/bootstrap/bootstrap.c modified +23 −0

Discussion