Re: PK & FK & Index Questio

Поиск
Список
Период
Сортировка
От Rodrigo De León
Тема Re: PK & FK & Index Questio
Дата
Msg-id a55915760709021420i32247e2x64963dc025cbd25@mail.gmail.com
обсуждение исходный текст
Ответ на PK & FK & Index Question  (L D <lenardd@hotmail.com>)
Список pgsql-sql
On 9/2/07, L D <lenardd@hotmail.com> wrote:
>  Should I set the latter table's FK also to PK?

It's sane.

> If so, do I need to set an index on the FK even though it's also the primary key?

No need to do so.


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

Предыдущее
От: L D
Дата:
Сообщение: PK & FK & Index Question
Следующее
От: "Stefan Arentz"
Дата:
Сообщение: Speeding up schema changes