Re: Foreign keys and indexes

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: Foreign keys and indexes
Дата
Msg-id 20070605132030.GA69925@winnie.fuhr.org
обсуждение исходный текст
Ответ на Foreign keys and indexes  (Marc Compte <mcompte@sigte.udg.es>)
Список pgsql-general
On Tue, Jun 05, 2007 at 11:49:20AM +0200, Marc Compte wrote:
> Does PostgreSQL create an implicit index also for foreign keys? or must
> I create it explicitly?

PostgreSQL doesn't create an index on the referencing column(s) of
a foreign key constraint; if you want an index then you'll need to
create it yourself.

--
Michael Fuhr

В списке pgsql-general по дате отправления:

Предыдущее
От: Ragnar
Дата:
Сообщение: Re: Foreign keys and indexes
Следующее
От: Ron Johnson
Дата:
Сообщение: Re: Encrypted column