Re: contrib idea - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: contrib idea
Date
Msg-id 200112210403.fBL43rH24599@candle.pha.pa.us
Whole thread Raw
In response to contrib idea  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Responses Re: contrib idea  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> If you have a foreign key on a column, then whenever the primary key is
> modified, the following checks may occur:
> 
> * Check to see if the child row exists (no action)
> * Delete the child row (cascade delete)
> * Update the child row (cascade update)
> 
> All of which will benefit from an index...

OK, then perhaps we should be creating an index automatically?  Folks?

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: Re: The dbase conrtib doesn't compile
Next
From: Tom Lane
Date:
Subject: Re: The dbase conrtib doesn't compile