summaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorTomas Vondra2017-07-09 14:07:26 +0000
committerTomas Vondra2017-07-09 14:07:26 +0000
commit5abaee185309ee85b42b457610df5c97724dee2f (patch)
treefee14ffb05a2c31155c1f1218e6d8bba7e39b6b3 /src/backend/tcop/postgres.c
parent34113efa41004a9d51e43ed0fd29f7a9b0799e69 (diff)
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.
Diffstat (limited to 'src/backend/tcop/postgres.c')
-rw-r--r--src/backend/tcop/postgres.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c
index 4bd9564326..8aa7dc25dc 100644
--- a/src/backend/tcop/postgres.c
+++ b/src/backend/tcop/postgres.c
@@ -4318,11 +4318,6 @@ PostgresMain(int argc, char *argv[],
finish_xact_command();
}
- /* Set up the post parse analyze hook */
- if (post_parse_analyze_hook)
- prev_ParseAnalyze_callback = post_parse_analyze_hook;
- post_parse_analyze_hook = ParseAnalyze_callback;
-
#ifdef USE_MODULE_MSGIDS
AtProcStart_MsgModule();
#endif