Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita8b275e

Browse files
author
Hiroshi Inoue
committed
Removed a dangerours DropRelationBuffers() call.
1 parent997ee51 commita8b275e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

‎src/backend/catalog/index.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.137 2001/01/24 00:06:07 tgl Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.138 2001/01/24 00:36:17 inoue Exp $
1212
*
1313
*
1414
* INTERFACE ROUTINES
@@ -1539,8 +1539,7 @@ setNewRelfilenode(Relation relation)
15391539
((Form_pg_class)GETSTRUCT(classTuple))->relfilenode=newrelfilenode;
15401540
simple_heap_update(pg_class,&classTuple->t_self,classTuple);
15411541
}
1542-
/* unlink old relfilenode */
1543-
DropRelationBuffers(relation);
1542+
/* schedule unlinking old relfilenode */
15441543
smgrunlink(DEFAULT_SMGR,relation);
15451544
/* cleanup pg_internal.init if necessary */
15461545
if (relation->rd_isnailed)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp