Skip site navigation (1) Skip section navigation (2)

Re: contrib idea

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: contrib idea
Date: 2001-12-21 04:03:53
Message-ID: 200112210403.fBL43rH24599@candle.pha.pa.us (view raw or flat)
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

In response to

Responses

pgsql-hackers by date

Next:From: Bruce MomjianDate: 2001-12-21 04:12:44
Subject: Re: The dbase conrtib doesn't compile
Previous:From: Christopher Kings-LynneDate: 2001-12-21 04:03:25
Subject: Re: contrib idea

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group