pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Revert "Rewrite some RI code to avoid using SPI"
Date: Thu, 07 Apr 2022 21:43:49 +0000
Message-ID: <E1ncZuu-000nI1-LD@gemulon.postgresql.org> (raw)

Revert "Rewrite some RI code to avoid using SPI"

This reverts commit 99392cdd78b788295e52b9f4942fa11992fd5ba9.
We'd rather rewrite ri_triggers.c as a whole rather than piecemeal.

Discussion: https://postgr.es/m/E1ncXX2-000mFt-Pe@gemulon.postgresql.org

Branch
------
master

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

Modified Files
--------------
src/backend/executor/execPartition.c        | 174 +--------
src/backend/executor/nodeLockRows.c         | 161 ++++----
src/backend/utils/adt/ri_triggers.c         | 564 ++++++++++++----------------
src/include/executor/execPartition.h        |   6 -
src/include/executor/executor.h             |   8 -
src/test/isolation/expected/fk-snapshot.out |   4 +-
src/test/isolation/specs/fk-snapshot.spec   |   5 +-
7 files changed, 317 insertions(+), 605 deletions(-)



Message-ID: <E1ncZuu-000nI1-LD@gemulon.postgresql.org>
Permalink:  ../E1ncZuu-000nI1-LD@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ncZuu-000nI1-LD@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: alvherre@alvh.no-ip.org
  Subject: Re: pgsql: Revert "Rewrite some RI code to avoid using SPI"
  In-Reply-To: <E1ncZuu-000nI1-LD@gemulon.postgresql.org>
  References: <E1ncZuu-000nI1-LD@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