Re: Foreign keys

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Steve Tucknott <steve(at)retsol(dot)co(dot)uk>
Cc: PostGreSQL <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Foreign keys
Date: 2004-08-27 19:16:22
Message-ID: 20040827191622.GA456@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Fri, Aug 27, 2004 at 09:31:51 +0100,
Steve Tucknott <steve(at)retsol(dot)co(dot)uk> wrote:
> PostGreSql 7.4.3
>
> Am I right in assuming that a foreign key on a table does not explicity
> create an index on that column on the foreign table? I can see via the
> \d on the table that the foreign key exists, but accessing the table on
> that column seems to use a sequential scan.

Do the data types match?

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Josh Berkus 2004-08-27 19:28:33 Re: pgsql functions and transactions?
Previous Message Tom Lane 2004-08-27 19:13:21 Re: Foreign keys