aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/init/postinit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/utils/init/postinit.c')
-rw-r--r--src/backend/utils/init/postinit.c18
1 files changed, 5 insertions, 13 deletions
diff --git a/src/backend/utils/init/postinit.c b/src/backend/utils/init/postinit.c
index 3ffb8af0541..9cd5b194d92 100644
--- a/src/backend/utils/init/postinit.c
+++ b/src/backend/utils/init/postinit.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.100 2002/03/06 06:10:25 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.101 2002/03/31 06:26:32 tgl Exp $
*
*
*-------------------------------------------------------------------------
@@ -39,7 +39,6 @@
#include "utils/portal.h"
#include "utils/relcache.h"
#include "utils/syscache.h"
-#include "utils/temprel.h"
static void ReverifyMyDatabase(const char *name);
@@ -386,20 +385,13 @@ InitPostgres(const char *dbname, const char *username)
RelationCacheInitializePhase3();
/*
- * Set up process-exit callbacks to remove temp relations and then do
- * pre-shutdown cleanup. This should be last because we want
- * shmem_exit to call these routines before the exit callbacks that
- * are registered by buffer manager, lock manager, etc. We need to
- * run this code before we close down database access!
+ * Set up process-exit callback to do pre-shutdown cleanup. This should
+ * be last because we want shmem_exit to call this routine before the exit
+ * callbacks that are registered by buffer manager, lock manager, etc.
+ * We need to run this code before we close down database access!
*/
on_shmem_exit(ShutdownPostgres, 0);
- /*
- * because callbacks are called in reverse order, this gets done
- * first:
- */
- on_shmem_exit(remove_all_temp_relations, 0);
-
/* close the transaction we started above */
if (!bootstrap)
CommitTransactionCommand();