]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Revert "Fix parallel-safety check of expressions and predicate for index builds"
authorMichael Paquier <michael@paquier.xyz>
Wed, 6 Mar 2024 23:31:07 +0000 (08:31 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 6 Mar 2024 23:31:07 +0000 (08:31 +0900)
commit49b971298a9b4271a9d5f91dcc969c5cb1acfbc1
tree69ae1bcbcbd9d56f77f308ce673299e271edf6a8
parenta595c3075fb4b8ab4211b074485eb0a17062ec7f
Revert "Fix parallel-safety check of expressions and predicate for index builds"

This reverts commit eae7be600be7, following a discussion with Tom Lane,
due to concerns that this impacts the decisions made by the planner for
the number of workers spawned based on the inlining and const-folding of
index expressions and predicate for cases that would have worked until
this commit.

Discussion: https://postgr.es/m/162802.1709746091@sss.pgh.pa.us
Backpatch-through: 12
src/backend/optimizer/plan/planner.c
src/backend/utils/cache/lsyscache.c
src/include/utils/lsyscache.h
src/test/regress/expected/btree_index.out
src/test/regress/sql/btree_index.sql