projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ba477c
)
Removed a dangerours DropRelationBuffers() call.
author
Hiroshi Inoue
<inoue@tpf.co.jp>
Wed, 24 Jan 2001 00:36:17 +0000
(
00:36
+0000)
committer
Hiroshi Inoue
<inoue@tpf.co.jp>
Wed, 24 Jan 2001 00:36:17 +0000
(
00:36
+0000)
src/backend/catalog/index.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/catalog/index.c
b/src/backend/catalog/index.c
index a52330228a9f9ebacf7e8b51391e423a7c2aeaad..02e0c76f662a35e8e8969d5f81e7f42f661b3156 100644
(file)
--- a/
src/backend/catalog/index.c
+++ b/
src/backend/catalog/index.c
@@
-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)