pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Revert "Fix parallel-safety check of expressions and predicate f
Date: Wed, 06 Mar 2024 23:32:18 +0000
Message-ID: <E1ri0kE-002TC1-Dt@gemulon.postgresql.org> (raw)

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

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/e82b64a92cf5650e618b26b85ca5c0f090286bb4

Modified Files
--------------
src/backend/optimizer/plan/planner.c      | 12 +-----
src/backend/utils/cache/lsyscache.c       | 68 -------------------------------
src/include/utils/lsyscache.h             |  2 -
src/test/regress/expected/btree_index.out | 19 ---------
src/test/regress/sql/btree_index.sql      | 22 ----------
5 files changed, 2 insertions(+), 121 deletions(-)



view thread (6+ messages)  latest in thread

Message-ID: <E1ri0kE-002TC1-Dt@gemulon.postgresql.org>
Permalink:  ../E1ri0kE-002TC1-Dt@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ri0kE-002TC1-Dt@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Revert "Fix parallel-safety check of expressions and predicate f
  In-Reply-To: <E1ri0kE-002TC1-Dt@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox