Skip to content

Commit

Permalink
Remove references to TempVariableCache
Browse files Browse the repository at this point in the history
  • Loading branch information
timchang514 committed Oct 19, 2023
1 parent 07c28e5 commit 131510d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/backend/access/transam/varsup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 0 additions & 2 deletions src/backend/utils/init/postinit.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 131510d

Please sign in to comment.