]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Update obsolete comment in ExecScanReScan().
authorEtsuro Fujita <efujita@postgresql.org>
Thu, 6 Nov 2025 03:25:03 +0000 (12:25 +0900)
committerEtsuro Fujita <efujita@postgresql.org>
Thu, 6 Nov 2025 03:25:03 +0000 (12:25 +0900)
Commit 27cc7cd2b removed the epqScanDone flag from the EState struct,
and instead added an equivalent flag named relsubs_done to the EPQState
struct; but it failed to update this comment.

Author: Etsuro Fujita <etsuro.fujita@gmail.com>
Discussion: https://postgr.es/m/CAPmGK152zJ3fU5avDT5udfL0namrDeVfMTL3dxdOXw28SOrycg%40mail.gmail.com
Backpatch-through: 13

src/backend/executor/execScan.c

index bf98c8f3599485dd78e7e81d876360a8215005de..aac35b9044c7cdcfa3f57ff593c6b5586c0bed18 100644 (file)
@@ -332,7 +332,7 @@ ExecScanReScan(ScanState *node)
 
                        /*
                         * If an FDW or custom scan provider has replaced the join with a
-                        * scan, there are multiple RTIs; reset the epqScanDone flag for
+                        * scan, there are multiple RTIs; reset the relsubs_done flag for
                         * all of them.
                         */
                        if (IsA(node->ps.plan, ForeignScan))