]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Update obsolete comment in ExecScanReScan().
authorEtsuro Fujita <efujita@postgresql.org>
Thu, 6 Nov 2025 03:25:00 +0000 (12:25 +0900)
committerEtsuro Fujita <efujita@postgresql.org>
Thu, 6 Nov 2025 03:25:00 +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 90726949a870829fb7268a8cc4866a7de23da66c..31ed4783c1d3c3a47e0ba8f1864e9d661cc3cf98 100644 (file)
@@ -134,7 +134,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))