mirror of
https://github.com/postgres/postgres.git
synced 2026-02-22 09:20:24 -05:00
Removed a dangerours DropRelationBuffers() call.
This commit is contained in:
parent
997ee51631
commit
a8b275e76d
1 changed files with 2 additions and 3 deletions
|
|
@ -8,7 +8,7 @@
|
|||
*
|
||||
*
|
||||
* 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
|
||||
|
|
@ -1539,8 +1539,7 @@ setNewRelfilenode(Relation relation)
|
|||
((Form_pg_class) GETSTRUCT(classTuple))->relfilenode = newrelfilenode;
|
||||
simple_heap_update(pg_class, &classTuple->t_self, classTuple);
|
||||
}
|
||||
/* unlink old relfilenode */
|
||||
DropRelationBuffers(relation);
|
||||
/* schedule unlinking old relfilenode */
|
||||
smgrunlink(DEFAULT_SMGR, relation);
|
||||
/* cleanup pg_internal.init if necessary */
|
||||
if (relation->rd_isnailed)
|
||||
|
|
|
|||
Loading…
Reference in a new issue