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.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/backend/utils/init/postinit.c b/src/backend/utils/init/postinit.c
index ba0e2dd97af..f63590cdb98 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.63 2000/07/08 03:04:16 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.64 2000/08/06 04:39:10 tgl Exp $
*
*
*-------------------------------------------------------------------------
@@ -313,7 +313,8 @@ InitPostgres(const char *dbname)
* it to examine AMI transaction status, and this is never written
* after initdb is done. -mer 15 June 1992
*/
- RelationInitialize(); /* pre-allocated reldescs created here */
+ RelationCacheInitialize(); /* pre-allocated reldescs created here */
+
InitializeTransactionSystem(); /* pg_log,etc init/crash recovery
* here */
@@ -362,6 +363,9 @@ InitPostgres(const char *dbname)
if (!bootstrap)
StartTransactionCommand();
+ /* replace faked-up relcache entries with the real info */
+ RelationCacheInitializePhase2();
+
/*
* Set ourselves to the proper user id and figure out our postgres
* user id. If we ever add security so that we check for valid