pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Amit Kapila <akapila@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Improve FK trigger parallel-safety check added by 05c8482f7f.
Date: Sat, 13 Mar 2021 04:20:14 +0000
Message-ID: <E1lKvl8-0000Wm-Lb@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1lKvl8-0000Wm-Lb@gemulon.postgresql.org>
Permalink:  ../E1lKvl8-0000Wm-Lb@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lKvl8-0000Wm-Lb@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: akapila@postgresql.org
  Subject: Re: pgsql: Improve FK trigger parallel-safety check added by 05c8482f7f.
  In-Reply-To: <E1lKvl8-0000Wm-Lb@gemulon.postgresql.org>
  References: <E1lKvl8-0000Wm-Lb@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