Re: Shorthand for foreign key indices

Поиск
Список
Период
Сортировка
От Jim C. Nasby
Тема Re: Shorthand for foreign key indices
Дата
Msg-id 20050509162908.GG35026@decibel.org
обсуждение исходный текст
Ответ на Re: Shorthand for foreign key indices  ("John D. Burger" <john@mitre.org>)
Ответы Re: Shorthand for foreign key indices  ("John D. Burger" <john@mitre.org>)
Список 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@decibel.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?"

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

Предыдущее
От: "Zlatko Matic"
Дата:
Сообщение: Re: = or := ?
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: [PERFORM] "Hash index" vs. "b-tree index" (PostgreSQL