diff options
author | Michael Paquier <michael@paquier.xyz> | 2024-03-07 08:31:04 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2024-03-07 08:31:04 +0900 |
commit | e82b64a92cf5650e618b26b85ca5c0f090286bb4 (patch) | |
tree | 7cee08849edd17e97241ea329fd3e1395b93ed4e /src/include/utils/lsyscache.h | |
parent | 3b671dcf53d1e1f5a08f8a4cd204207a8c1a065e (diff) |
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
Diffstat (limited to 'src/include/utils/lsyscache.h')
-rw-r--r-- | src/include/utils/lsyscache.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/include/utils/lsyscache.h b/src/include/utils/lsyscache.h index 96605ea586a..b8dd27d4a96 100644 --- a/src/include/utils/lsyscache.h +++ b/src/include/utils/lsyscache.h @@ -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); |