From: Tom Lane <tgl@sss.pgh.pa.us>
To: cluster <skrald@amossen.dk>
Cc: pgsql-performance@postgresql.org
Subject: Re: FK triggers misused?
Date: Sun, 15 Apr 2007 01:29:01 -0400
Message-ID: <26399.1176614941@sss.pgh.pa.us> (raw)
In-Reply-To: <evqm6g$29b1$1@news.hub.org>
References: <evqm6g$29b1$1@news.hub.org>
cluster <skrald@amossen.dk> writes:
> It seems that the FK triggers for the table are evaluated even though
> none of the FK columns are altered.
Hm, they're not supposed to be, at least not in reasonably modern
PG releases (and one that breaks out trigger runtime in EXPLAIN ANALYZE
should be modern enough IIRC). Exactly which PG release are you
running? Can you provide a self-contained test case?
regards, tom lane
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-performance@postgresql.org
Cc: tgl@sss.pgh.pa.us, skrald@amossen.dk
Subject: Re: FK triggers misused?
In-Reply-To: <26399.1176614941@sss.pgh.pa.us>
* 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