diff options
Diffstat (limited to 'src/backend/bootstrap/bootstrap.c')
-rw-r--r-- | src/backend/bootstrap/bootstrap.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/backend/bootstrap/bootstrap.c b/src/backend/bootstrap/bootstrap.c index f48c8389ce6..98ad33866be 100644 --- a/src/backend/bootstrap/bootstrap.c +++ b/src/backend/bootstrap/bootstrap.c @@ -8,7 +8,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.134 2002/08/02 18:15:04 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.135 2002/08/02 22:36:05 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -550,7 +550,6 @@ closerel(char *name) else elog(ERROR, "closerel: close of '%s' before any relation was opened", name); - } if (boot_reldesc == NULL) @@ -822,8 +821,8 @@ cleanup() elog(FATAL, "Memory manager fault: cleanup called twice.\n"); proc_exit(1); } - if (boot_reldesc != (Relation) NULL) - heap_close(boot_reldesc, NoLock); + if (boot_reldesc != NULL) + closerel(NULL); CommitTransactionCommand(); proc_exit(Warnings); } |