Allow composite types in catalog bootstrap
authorTomas Vondra <tomas.vondra@postgresql.org>
Tue, 23 Mar 2021 23:47:50 +0000 (00:47 +0100)
committerTomas Vondra <tomas.vondra@postgresql.org>
Tue, 23 Mar 2021 23:47:52 +0000 (00:47 +0100)
commit79f6a942bdb958fbd7ef6870d5bf2e3cefb65da5
tree8a7e1fe86ebf0f6df85f7de1b7475d989e31c95e
parente1a5e65703ce884529340819f6268d24f43ef8f7
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
src/backend/bootstrap/bootstrap.c