Skip to content

Commit e58a944

Browse files
committed
Add comment explaining why RelationOpenSmgr() call is not needed.
1 parent 7eb5428 commit e58a944

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy