Re: are foreign keys realized as indexes? - Mailing list pgsql-general

From Felix Kater
Subject Re: are foreign keys realized as indexes?
Date
Msg-id 20070508141454.312b178e.fkater@googlemail.com
Whole thread Raw
In response to Re: are foreign keys realized as indexes?  (Raymond O'Donnell <rod@iol.ie>)
Responses Re: are foreign keys realized as indexes?
Re: are foreign keys realized as indexes?
List pgsql-general
On Tue, 08 May 2007 12:48:30 +0100
Raymond O'Donnell <rod@iol.ie> wrote:

> You can do that, but you'll lose the enforcement of referential
> integrity, which is what foreign keys give you.

If I get you right:

There is *no complete* substitute for foreign keys by using *indexes*
since I'd loose the referencial integrity (whereas for unique contraints
there *is* a full replacement using indexes)?

Felix

pgsql-general by date:

Previous
From: Raymond O'Donnell
Date:
Subject: Re: are foreign keys realized as indexes?
Next
From: Peter Eisentraut
Date:
Subject: Re: are foreign keys realized as indexes?