primary key and foreign key

Поиск
Список
Период
Сортировка
От Jessica Richard
Тема primary key and foreign key
Дата
Msg-id 768150.12661.qm@web56410.mail.re3.yahoo.com
обсуждение исходный текст
Ответы Re: primary key and foreign key  (Richard Broersma Jr <rabroersma@yahoo.com>)
Список pgsql-admin
Just want to be very clear that:

1. adding a primary key will have an implicit index automatically on the column(s).

2. Adding a foreign key will NOT have an index created automatically, it only does the referencing work. If an index is needed on the F-key column, it has to be created, right?

Thanks.


Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on, when.

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

Предыдущее
От: "Igor Neyman"
Дата:
Сообщение: Re: Searching in a string with index
Следующее
От: Richard Broersma Jr
Дата:
Сообщение: Re: primary key and foreign key