mirror of
https://github.com/postgres/postgres.git
synced 2025-12-21 05:21:08 +03:00
Revert "Fix parallel-safety check of expressions and predicate for index builds"
This reverts commit eae7be600b, 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
This commit is contained in:
@@ -195,8 +195,6 @@ extern Oid get_range_collation(Oid rangeOid);
|
||||
extern Oid get_range_multirange(Oid rangeOid);
|
||||
extern Oid get_multirange_range(Oid multirangeOid);
|
||||
extern Oid get_index_column_opclass(Oid index_oid, int attno);
|
||||
extern List *get_index_expressions(Oid index_oid);
|
||||
extern List *get_index_predicate(Oid index_oid);
|
||||
extern bool get_index_isreplident(Oid index_oid);
|
||||
extern bool get_index_isvalid(Oid index_oid);
|
||||
extern bool get_index_isclustered(Oid index_oid);
|
||||
|
||||
Reference in New Issue
Block a user