git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 919c486) | patch
Revert "Move PartitionPruneInfo out of plan nodes into PlannedStmt"
Thu, 4 May 2023 10:09:59 +0000 (12:09 +0200)
Thu, 4 May 2023 10:09:59 +0000 (12:09 +0200)
commit 5472743d9e8583638a897b47558066167cc14583
Revert "Move PartitionPruneInfo out of plan nodes into PlannedStmt"

This reverts commit ec386948948c and its fixup 589bb816499e.

This change was intended to support query planning avoiding acquisition
of locks on partitions that were going to be pruned; however, the
overall project took a different direction at [1] and this bit is no
longer needed. Put things back the way they were as agreed in [2], to
avoid unnecessary complexity.

Discussion: [1] https://postgr.es/m/4191508.1674157166@sss.pgh.pa.us
Discussion: [2] https://postgr.es/m/20230502175409.kcoirxczpdha26wt@alvherre.pgsql
16 files changed:
src/backend/executor/execMain.c diff | blob | blame | history
src/backend/executor/execParallel.c diff | blob | blame | history
src/backend/executor/execPartition.c diff | blob | blame | history
src/backend/executor/execUtils.c diff | blob | blame | history
src/backend/executor/nodeAppend.c diff | blob | blame | history
src/backend/executor/nodeMergeAppend.c diff | blob | blame | history
src/backend/optimizer/plan/createplan.c diff | blob | blame | history
src/backend/optimizer/plan/planner.c diff | blob | blame | history
src/backend/optimizer/plan/setrefs.c diff | blob | blame | history
src/backend/partitioning/partprune.c diff | blob | blame | history
src/include/catalog/catversion.h diff | blob | blame | history
src/include/executor/execPartition.h diff | blob | blame | history
src/include/nodes/execnodes.h diff | blob | blame | history
src/include/nodes/pathnodes.h diff | blob | blame | history
src/include/nodes/plannodes.h diff | blob | blame | history
src/include/partitioning/partprune.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /