From b8b37f0ee2a38154199bdc3b61df89ac9b8ae1e8 Mon Sep 17 00:00:00 2001 From: Etsuro Fujita Date: Thu, 6 Nov 2025 12:25:04 +0900 Subject: [PATCH] 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 --- src/backend/executor/execScan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/executor/execScan.c b/src/backend/executor/execScan.c index 328e5b561c1..c7e632c7e9d 100644 --- a/src/backend/executor/execScan.c +++ b/src/backend/executor/execScan.c @@ -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)) -- 2.47.3