postgresql/src/include/nodes
Amit Langote 1722d5eb05 Revert "Don't lock partitions pruned by initial pruning"
As pointed out by Tom Lane, the patch introduced fragile and invasive
design around plan invalidation handling when locking of prunable
partitions was deferred from plancache.c to the executor. In
particular, it violated assumptions about CachedPlan immutability and
altered executor APIs in ways that are difficult to justify given the
added complexity and overhead.

This also removes the firstResultRels field added to PlannedStmt in
commit 28317de72, which was intended to support deferred locking of
certain ModifyTable result relations.

Reported-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/605328.1747710381@sss.pgh.pa.us
2025-05-22 17:02:35 +09:00
..
.gitignore Automatically generate node support functions 2022-07-09 08:53:59 +02:00
bitmapset.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
execnodes.h Revert "Don't lock partitions pruned by initial pruning" 2025-05-22 17:02:35 +09:00
extensible.h Make it possible for loadable modules to add EXPLAIN options. 2025-03-18 08:41:12 -04:00
lockoptions.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
makefuncs.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
memnodes.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
meson.build Move CompareType to separate header file 2025-02-02 08:11:57 +01:00
miscnodes.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
multibitmapset.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
nodeFuncs.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
nodes.h Add support for custom_query_jumble as a node field attribute 2025-03-25 14:18:00 +09:00
params.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
parsenodes.h Add support for NOT ENFORCED in foreign key constraints 2025-04-02 13:36:44 +02:00
pathnodes.h Revert "Don't lock partitions pruned by initial pruning" 2025-05-22 17:02:35 +09:00
pg_list.h Swap order of extern/static and pg_nodiscard 2025-03-14 07:18:07 +01:00
plannodes.h Revert "Don't lock partitions pruned by initial pruning" 2025-05-22 17:02:35 +09:00
primnodes.h Introduce squashing of constant lists in query jumbling 2025-03-18 18:56:11 +01:00
print.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
queryjumble.h Remove the query_id_squash_values GUC 2025-03-27 13:33:37 +01:00
readfuncs.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
replnodes.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
subscripting.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
supportnodes.h Allow extension functions to participate in in-place updates. 2025-02-11 12:49:34 -05:00
tidbitmap.h Separate TBM[Shared|Private]Iterator and TBMIterateResult 2025-03-15 10:11:19 -04:00
value.h Update copyright for 2025 2025-01-01 11:21:55 -05:00