From: Hiroshi Inoue Date: Wed, 24 Jan 2001 00:36:17 +0000 (+0000) Subject: Removed a dangerours DropRelationBuffers() call. X-Git-Tag: REL7_1~697 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a8b275e76d04abce690bfe9ec0e2f7bb8fa8304b;p=postgresql Removed a dangerours DropRelationBuffers() call. --- diff --git a/src/backend/catalog/index.c b/src/backend/catalog/index.c index 633f47bd5f..f0803a89c8 100644 --- a/src/backend/catalog/index.c +++ b/src/backend/catalog/index.c @@ -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)