Update obsolete comment in ExecScanReScan().
authorEtsuro Fujita <[email protected]>
Thu, 6 Nov 2025 03:25:05 +0000 (12:25 +0900)
committerEtsuro Fujita <[email protected]>
Thu, 6 Nov 2025 03:25:05 +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 <[email protected]>
Discussion: https://postgr.es/m/CAPmGK152zJ3fU5avDT5udfL0namrDeVfMTL3dxdOXw28SOrycg%40mail.gmail.com
Backpatch-through: 13

src/backend/executor/execScan.c

index 5fa44a0c5e1b96aadb7273dd8055f8949320f305..bcc68ebb0ecd4473b9bdcfcd6125cefa3dd99dfd 100644 (file)
@@ -329,7 +329,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))