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

Commite58a944

Browse files
committed
Add comment explaining why RelationOpenSmgr() call is not needed.
1 parent7eb5428 commite58a944

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/backend/executor/execMain.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*
2727
*
2828
* IDENTIFICATION
29-
* $PostgreSQL: pgsql/src/backend/executor/execMain.c,v 1.262 2005/12/02 20:03:40 tgl Exp $
29+
* $PostgreSQL: pgsql/src/backend/executor/execMain.c,v 1.263 2006/01/07 22:30:43 tgl Exp $
3030
*
3131
*-------------------------------------------------------------------------
3232
*/
@@ -1002,6 +1002,7 @@ ExecEndPlan(PlanState *planstate, EState *estate)
10021002
!estate->es_into_relation_descriptor->rd_istemp)
10031003
{
10041004
FlushRelationBuffers(estate->es_into_relation_descriptor);
1005+
/* FlushRelationBuffers will have opened rd_smgr */
10051006
smgrimmedsync(estate->es_into_relation_descriptor->rd_smgr);
10061007
}
10071008

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp