pgsql: Improve FK trigger parallel-safety check added by 05c8482f7f.

From: Amit Kapila <akapila(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Improve FK trigger parallel-safety check added by 05c8482f7f.
Date: 2021-03-13 04:20:14
Message-ID: E1lKvl8-0000Wm-Lb@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Improve FK trigger parallel-safety check added by 05c8482f7f.

Commit 05c8482f7f added special logic related to parallel-safety of FK
triggers. This is a bit of a hack and should have instead been done by
simply setting appropriate proparallel values on those trigger functions
themselves.

Suggested-by: Tom Lane
Author: Greg Nancarrow
Reviewed-by: Amit Kapila
Discussion: https://postgr.es/m/2309260.1615485644@sss.pgh.pa.us

Branch
------
master

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

Modified Files
--------------
src/backend/optimizer/util/clauses.c | 14 --------------
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.dat | 8 ++++----
3 files changed, 5 insertions(+), 19 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2021-03-13 04:23:01 pgsql: Fix new pthread code to respect --disable-thread-safety.
Previous Message Robert Haas 2021-03-13 03:01:20 pgsql: pg_amcheck: Keep trying to fix the tests.