postgresql/src/include/executor
Tom Lane b803b7d132 Fill EState.es_rteperminfos more systematically.
While testing a fix for bug #17823, I discovered that EvalPlanQualStart
failed to copy es_rteperminfos from the parent EState, resulting in
failure if anything in EPQ execution wanted to consult that information.

This led me to conclude that commit a61b1f748 had been too haphazard
about where to fill es_rteperminfos, and that we need to be sure that
that happens exactly where es_range_table gets filled.  So I changed the
signature of ExecInitRangeTable to help ensure that this new requirement
doesn't get missed.  (Indeed, pgoutput.c was also failing to fill it.
Maybe we don't ever need it there, but I wouldn't bet on that.)

No test case yet; one will arrive with the fix for #17823.
But that needs to be back-patched, while this fix is HEAD-only.

Discussion: https://postgr.es/m/17823-b64909cf7d63de84@postgresql.org
2023-03-06 13:10:57 -05:00
..
execAsync.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
execdebug.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
execdesc.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
execExpr.h Add static assertion ensuring sizeof(ExprEvalStep) <= 64 bytes 2023-02-22 14:30:39 -08:00
execParallel.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
execPartition.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
executor.h Fill EState.es_rteperminfos more systematically. 2023-03-06 13:10:57 -05:00
functions.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
hashjoin.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
instrument.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeAgg.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeAppend.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeBitmapAnd.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeBitmapHeapscan.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeBitmapIndexscan.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeBitmapOr.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeCtescan.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeCustom.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeForeignscan.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeFunctionscan.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeGather.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeGatherMerge.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeGroup.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeHash.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeHashjoin.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeIncrementalSort.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeIndexonlyscan.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeIndexscan.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeLimit.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeLockRows.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeMaterial.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeMemoize.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeMergeAppend.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeMergejoin.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeModifyTable.h Make new GENERATED-expressions code more bulletproof. 2023-01-15 13:14:52 -05:00
nodeNamedtuplestorescan.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeNestloop.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeProjectSet.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeRecursiveunion.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeResult.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeSamplescan.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeSeqscan.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeSetOp.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeSort.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeSubplan.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeSubqueryscan.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeTableFuncscan.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeTidrangescan.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeTidscan.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeUnique.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeValuesscan.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeWindowAgg.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeWorktablescan.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
spi.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
spi_priv.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
tablefunc.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
tqueue.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
tstoreReceiver.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
tuptable.h Update copyright for 2023 2023-01-02 15:00:37 -05:00