Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 3af536a

Browse files
committed
RelationForgetRelation not needed in heap_destroy().
Vadim.
1 parent b52c666 commit 3af536a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/backend/catalog/heap.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.49 1998/06/13 20:22:53 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.50 1998/06/14 13:31:07 momjian Exp $
1111
*
1212
* INTERFACE ROUTINES
1313
* heap_create() - Create an uncataloged heap relation
@@ -1370,7 +1370,6 @@ heap_destroy(Relation rdesc)
13701370
rdesc->rd_tmpunlinked = TRUE;
13711371
heap_close(rdesc);
13721372
RemoveFromTempRelList(rdesc);
1373-
RelationForgetRelation(rdesc->rd_id);
13741373
}
13751374

13761375

0 commit comments

Comments
 (0)