Re: Shorthand for foreign key indices

From: "Jim C(dot) Nasby" <decibel(at)decibel(dot)org>
To: "John D(dot) Burger" <john(at)mitre(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Shorthand for foreign key indices
Date: 2005-05-09 16:29:08
Message-ID: 20050509162908.GG35026@decibel.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)decibel(dot)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?"

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jim C. Nasby 2005-05-09 16:34:23 Re: [PERFORM] "Hash index" vs. "b-tree index" (PostgreSQL
Previous Message Zlatko Matic 2005-05-09 16:26:08 Re: = or := ?