aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi Inoue <inoue@tpf.co.jp>2001-01-24 00:36:17 +0000
committerHiroshi Inoue <inoue@tpf.co.jp>2001-01-24 00:36:17 +0000
commita8b275e76d04abce690bfe9ec0e2f7bb8fa8304b (patch)
tree0c6ffc3b43d445d82eeafab5fbc5bdbe279a7d9a
parent997ee51631728e79f558cf583b884b7a507a43ab (diff)
downloadpostgresql-a8b275e76d04abce690bfe9ec0e2f7bb8fa8304b.tar.gz
postgresql-a8b275e76d04abce690bfe9ec0e2f7bb8fa8304b.zip
Removed a dangerours DropRelationBuffers() call.
-rw-r--r--src/backend/catalog/index.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/backend/catalog/index.c b/src/backend/catalog/index.c
index 633f47bd5fc..f0803a89c80 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)