From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Remove dead foreign key optimization code
Date: Sun, 11 Nov 2018 22:57:44 -0300
Message-ID: <20181112015744.xpf2aysj74ihrao4@alvherre.pgsql> (raw)
In-Reply-To: <E1gLV4b-00089D-L2@gemulon.postgresql.org>
On 2018-Nov-10, Peter Eisentraut wrote:
> Remove dead foreign key optimization code
>
> The ri_KeysEqual() calls in the foreign-key trigger functions to
> optimize away some updates are useless because since
> adfeef55cbcc5dc72a772777f88c1be05a70dfee those triggers are not enqueued
> at all. (It's also not useful to keep these checks as some kind of
> backstop, since it's also semantically correct to just run the full
> check even with equal keys.)
>
> Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Please don't omit "Discussion:" tags from commit messages.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
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@2ndquadrant.com, peter_e@gmx.net
Subject: Re: pgsql: Remove dead foreign key optimization code
In-Reply-To: <20181112015744.xpf2aysj74ihrao4@alvherre.pgsql>
References: <E1gLV4b-00089D-L2@gemulon.postgresql.org> <20181112015744.xpf2aysj74ihrao4@alvherre.pgsql>
* 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