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 <etsuro.fujita@gmail.com>
Discussion: https://postgr.es/m/CAPmGK152zJ3fU5avDT5udfL0namrDeVfMTL3dxdOXw28SOrycg%40mail.gmail.com
Backpatch-through: 13
REL_18_STABLE
Etsuro Fujita 1 month ago
parent e971cf5a95
commit 233d79ec4f
  1. 2
      src/backend/executor/execScan.c

@ -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))

Loading…
Cancel
Save