Re: Foreign keys and indexes

From: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
To: Marc Compte <mcompte(at)sigte(dot)udg(dot)es>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Foreign keys and indexes
Date: 2007-06-05 15:14:54
Message-ID: 1181056494.15764.324.camel@linda.lfix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, 2007-06-05 at 17:07 +0200, Marc Compte wrote:
>
> For instance, in the implementation of a N:M relationship, declaring
> the
> primary as (foreign1, foreign2) will create two indexes? or just one?

Just one

--
Oliver Elphick olly(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
GPG: 1024D/A54310EA 92C8 39E7 280E 3631 3F0E 1EC0 5664 7A2F A543 10EA
========================================
Do you want to know God? http://www.lfix.co.uk/knowing_god.html

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Brian Mathis 2007-06-05 15:22:04 Re: Encrypted column
Previous Message volunteer 2007-06-05 15:12:26 lo or bytea streaming engine??