Re: Further thoughts about warning for costly FK checks

From: Greg Stark <gsstark(at)mit(dot)edu>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Further thoughts about warning for costly FK checks
Date: 2004-03-17 19:45:21
Message-ID: 87brmvz29a.fsf@stark.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:

> BTW, something that just occurred to me now: EXPLAIN is currently really
> designed only for SELECTs. It would make sense to upgrade it for
> INSERT/UPDATE/DELETE to list the triggers that will get fired. While
> we'd have to treat user triggers as black boxes, I think it would also
> be possible to "look inside" RI triggers and display the plans of the
> queries that will get invoked.

It seems EXPLAIN ANALYZE at least ought to be able to show the complete plan
for even user triggers.

--
greg

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Marc G. Fournier 2004-03-17 19:56:04 Re: Doxygen?
Previous Message Joe Conway 2004-03-17 19:38:54 Re: rapid degradation after postmaster restart