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 03:58:40
Message-ID: 200112210358.fBL3wew22397@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
> Hi All,
> 
> You know how when you create a foreign key in postgres it isn't
> automatically indexed, and it seems to me that it's very useful to have
> indexed foreign keys, especially if you use lots of them.
> 
> So, how about a 'findslowfks' contrib?  This would basically be similar to
> Bruce's findoidjoins thingy...

Why would you want an index on a foreign key.  Primary I can understand,
but is there use to foreignt?  Is it for checking of changes to primary
keys?

-- 
  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

  • contrib idea at 2001-12-21 02:47:01 from Christopher Kings-Lynne

Responses

pgsql-hackers by date

Next:From: Christopher Kings-LynneDate: 2001-12-21 03:59:35
Subject: Re: The dbase conrtib doesn't compile
Previous:From: Bruce MomjianDate: 2001-12-21 03:56:06
Subject: Re: TOAST performance (was Re: [GENERAL] Delete Perform

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