Removed a dangerours DropRelationBuffers() call.
This commit is contained in:
parent
997ee51631
commit
a8b275e76d
@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.137 2001/01/24 00:06:07 tgl Exp $
|
* $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.138 2001/01/24 00:36:17 inoue Exp $
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* INTERFACE ROUTINES
|
* INTERFACE ROUTINES
|
||||||
@ -1539,8 +1539,7 @@ setNewRelfilenode(Relation relation)
|
|||||||
((Form_pg_class) GETSTRUCT(classTuple))->relfilenode = newrelfilenode;
|
((Form_pg_class) GETSTRUCT(classTuple))->relfilenode = newrelfilenode;
|
||||||
simple_heap_update(pg_class, &classTuple->t_self, classTuple);
|
simple_heap_update(pg_class, &classTuple->t_self, classTuple);
|
||||||
}
|
}
|
||||||
/* unlink old relfilenode */
|
/* schedule unlinking old relfilenode */
|
||||||
DropRelationBuffers(relation);
|
|
||||||
smgrunlink(DEFAULT_SMGR, relation);
|
smgrunlink(DEFAULT_SMGR, relation);
|
||||||
/* cleanup pg_internal.init if necessary */
|
/* cleanup pg_internal.init if necessary */
|
||||||
if (relation->rd_isnailed)
|
if (relation->rd_isnailed)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user