Re: ADD FOREIGN KEY (was Re: [GENERAL] 7.4Beta) - Mailing list pgsql-hackers

From Nigel J. Andrews
Subject Re: ADD FOREIGN KEY (was Re: [GENERAL] 7.4Beta)
Date
Msg-id Pine.LNX.4.21.0309291245440.525-100000@ponder.fairway2k.co.uk
Whole thread Raw
In response to Re: ADD FOREIGN KEY (was Re: [GENERAL] 7.4Beta)  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Responses Re: ADD FOREIGN KEY (was Re: [GENERAL] 7.4Beta)  (Andreas Pflug <pgadmin@pse-consulting.de>)
Re: ADD FOREIGN KEY (was Re: [GENERAL] 7.4Beta)  (Greg Stark <gsstark@mit.edu>)
List pgsql-hackers
On Mon, 29 Sep 2003, Christopher Kings-Lynne wrote:

> > So a db designer made a bloody mistake.
> > The problem is there's no easy way to find out what's missing.
> > I'd really like EXPLAIN to display all subsequent triggered queries 
> > also, to see the full scans caused by missing indexes.
> 
> I'd sure second that!

That's only partially determinable though. The trigger code could branch and
run two different queries depending on the values supplied in the 'input' tuple
of the trigger.

Nigel




pgsql-hackers by date:

Previous
From: Shridhar Daithankar
Date:
Subject: Re: ADD FOREIGN KEY (was Re: [GENERAL] 7.4Beta)
Next
From: Hannu Krosing
Date:
Subject: Re: ADD FOREIGN KEY (was Re: [GENERAL] 7.4Beta)