pgsql: Fix parallel-safety check of expressions and predicate for index

2024-03-06 Thread Michael Paquier
Fix parallel-safety check of expressions and predicate for index builds As coded, the planner logic that calculates the number of parallel workers to use for a parallel index build uses expressions and predicates from the relcache, which are flattened for the planner by eval_const_expressions().

pgsql: Fix parallel-safety check of expressions and predicate for index

2024-03-06 Thread Michael Paquier
Fix parallel-safety check of expressions and predicate for index builds As coded, the planner logic that calculates the number of parallel workers to use for a parallel index build uses expressions and predicates from the relcache, which are flattened for the planner by eval_const_expressions().

pgsql: Fix parallel-safety check of expressions and predicate for index

2024-03-06 Thread Michael Paquier
Fix parallel-safety check of expressions and predicate for index builds As coded, the planner logic that calculates the number of parallel workers to use for a parallel index build uses expressions and predicates from the relcache, which are flattened for the planner by eval_const_expressions().

pgsql: Fix parallel-safety check of expressions and predicate for index

2024-03-06 Thread Michael Paquier
Fix parallel-safety check of expressions and predicate for index builds As coded, the planner logic that calculates the number of parallel workers to use for a parallel index build uses expressions and predicates from the relcache, which are flattened for the planner by eval_const_expressions().

pgsql: Fix parallel-safety check of expressions and predicate for index

2024-03-06 Thread Michael Paquier
Fix parallel-safety check of expressions and predicate for index builds As coded, the planner logic that calculates the number of parallel workers to use for a parallel index build uses expressions and predicates from the relcache, which are flattened for the planner by eval_const_expressions().

pgsql: Fix parallel-safety check of expressions and predicate for index

2024-03-06 Thread Michael Paquier
Fix parallel-safety check of expressions and predicate for index builds As coded, the planner logic that calculates the number of parallel workers to use for a parallel index build uses expressions and predicates from the relcache, which are flattened for the planner by eval_const_expressions().