From: Etsuro Fujita Date: Thu, 6 Nov 2025 03:25:02 +0000 (+0900) Subject: Update obsolete comment in ExecScanReScan(). X-Git-Tag: REL_17_7~12 X-Git-Url: http://git.postgresql.org/gitweb/static/main.js?a=commitdiff_plain;h=d898e6846979e75728acfa8eedebd25b77786073;p=postgresql.git Update obsolete comment in ExecScanReScan(). 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 Discussion: https://postgr.es/m/CAPmGK152zJ3fU5avDT5udfL0namrDeVfMTL3dxdOXw28SOrycg%40mail.gmail.com Backpatch-through: 13 --- diff --git a/src/backend/executor/execScan.c b/src/backend/executor/execScan.c index 0e19a644ce9..8a3485de96e 100644 --- a/src/backend/executor/execScan.c +++ b/src/backend/executor/execScan.c @@ -331,7 +331,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))