Remove storm_catalog schema
authorTomas Vondra <[email protected]>
Sun, 9 Jul 2017 14:07:26 +0000 (16:07 +0200)
committerTomas Vondra <[email protected]>
Sun, 9 Jul 2017 14:07:26 +0000 (16:07 +0200)
commit5abaee185309ee85b42b457610df5c97724dee2f
treefee14ffb05a2c31155c1f1218e6d8bba7e39b6b3
parent34113efa41004a9d51e43ed0fd29f7a9b0799e69
Remove storm_catalog schema

The storm_catalog schema is supposed to contain the same catalogs and
views as pg_catalog, but filtered to the current database. The use case
for this is multi-tenant systems, which was a StormDB feature.

But on XL this is mostly irrelevant, and the schema was not populated
since commit 8096e3edf17b260de15472eb04567d1beec1e3e6 which disabled
this part of initdb.

So instead of fixing the regression failures in misc_sanity caused by
this (initdb-time schema with no pinned objects), just rip all the
remaining bits out, including the pgxc_catalog_remap GUC etc.

This also removes the setup_storm() call disabled by 8096e3edf1, as the
function got removed since then.
14 files changed:
src/backend/catalog/Makefile
src/backend/catalog/namespace.c
src/backend/catalog/storm_catalog.sql [deleted file]
src/backend/parser/analyze.c
src/backend/parser/parse_relation.c
src/backend/tcop/postgres.c
src/backend/utils/misc/guc.c
src/bin/initdb/initdb.c
src/include/catalog/pg_namespace.h
src/include/utils/guc.h
src/test/regress/expected/alter_table.out
src/test/regress/expected/rules.out
src/test/regress/sql/alter_table.sql
src/test/regress/sql/rules.sql