From 131510d02c999d69c07e65d4e69d99bbaa88adc5 Mon Sep 17 00:00:00 2001 From: Tim Chang Date: Thu, 19 Oct 2023 21:39:49 +0000 Subject: [PATCH] Remove references to TempVariableCache --- src/backend/access/transam/varsup.c | 1 - src/backend/utils/init/postinit.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/backend/access/transam/varsup.c b/src/backend/access/transam/varsup.c index 5d4c492bf02..be48823cbff 100644 --- a/src/backend/access/transam/varsup.c +++ b/src/backend/access/transam/varsup.c @@ -33,7 +33,6 @@ /* pointer to "variable cache" in shared memory (set up by shmem.c) */ VariableCache ShmemVariableCache = NULL; -VariableCache TempVariableCache = NULL; GetNewObjectId_hook_type GetNewObjectId_hook = NULL; diff --git a/src/backend/utils/init/postinit.c b/src/backend/utils/init/postinit.c index 3902da99ea2..8df52716d0d 100644 --- a/src/backend/utils/init/postinit.c +++ b/src/backend/utils/init/postinit.c @@ -1141,8 +1141,6 @@ InitPostgres(const char *in_dbname, Oid dboid, /* Initialize this backend's session state. */ InitializeSession(); - TempVariableCache = (VariableCache) palloc0(sizeof(*TempVariableCache)); - /* * If this is an interactive session, load any libraries that should be * preloaded at backend start. Since those are determined by GUCs, this