Re: Shorthand for foreign key indices - Mailing list pgsql-general

From Jim C. Nasby
Subject Re: Shorthand for foreign key indices
Date
Msg-id 20050509162908.GG35026@decibel.org
Whole thread Raw
In response to Re: Shorthand for foreign key indices  ("John D. Burger" <john@mitre.org>)
Responses Re: Shorthand for foreign key indices
List pgsql-general
On Mon, May 09, 2005 at 09:04:49AM -0400, John D. Burger wrote:
> >I know that it was decided a fair few releases ago to stop creating an
> >implicit index for each foreign key,
>
> By the way, I presume foreign key indices are used to check for
> referential integrity on insert.  Can the query planner also use then
> somehow?

It can use them the same way it can use any other index.
--
Jim C. Nasby, Database Consultant               decibel@decibel.org
Give your computer some brain candy! www.distributed.net Team #1828

Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming, or what?"

pgsql-general by date:

Previous
From: "Zlatko Matic"
Date:
Subject: Re: = or := ?
Next
From: "Jim C. Nasby"
Date:
Subject: Re: [PERFORM] "Hash index" vs. "b-tree index" (PostgreSQL