Skip to content

Commit 94515e3

Browse files
committed
Removed unlinked patch that is not neede now that Vadim has properly fixed it.
1 parent 6e725b2 commit 94515e3

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/backend/access/heap/heapam.c

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.9 1997/01/01 06:01:03 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.10 1997/01/23 05:59:47 momjian Exp $
1111
*
1212
*
1313
* INTERFACE ROUTINES
@@ -496,10 +496,6 @@ heap_open(Oid relationId)
496496

497497
r = (Relation) RelationIdGetRelation(relationId);
498498

499-
if(RelationIsValid(r) && r->rd_istemp) {
500-
r->rd_tmpunlinked = FALSE; /* now we can unlink it */
501-
}
502-
503499
if (RelationIsValid(r) && r->rd_rel->relkind == RELKIND_INDEX) {
504500
elog(WARN, "%s is an index relation", r->rd_rel->relname.data);
505501
}
@@ -528,10 +524,6 @@ heap_openr(char *relationName)
528524

529525
r = RelationNameGetRelation(relationName);
530526

531-
if(RelationIsValid(r) && r->rd_istemp) {
532-
r->rd_tmpunlinked = FALSE; /* now we can unlink it */
533-
}
534-
535527
if (RelationIsValid(r) && r->rd_rel->relkind == RELKIND_INDEX) {
536528
elog(WARN, "%s is an index relation", r->rd_rel->relname.data);
537529
}

0 commit comments

Comments
 (0)