Re: INSERT/SELECT and excessive foreign key checks

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: INSERT/SELECT and excessive foreign key checks
Дата
Msg-id 46C8BB0D.9000005@dunslane.net
обсуждение исходный текст
Ответ на Re: INSERT/SELECT and excessive foreign key checks  (James Mansion <james@mansionfamily.plus.com>)
Список pgsql-hackers

James Mansion wrote:
> I was wondering whether one could try to identify what might be termed 
> 'enum tables' that exist to provide lookups.
>
> There are perhaps three main types of table that is the target of a 
> foreign key lookup:
>
> 1) tables that map to program language enumerations: typically small 
> (less than a hundred rows) and changing very infrequently.
>
>

8.3's enum types will help with these, and they get you out of the FK 
game altogether.

cheers

andrew


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

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: INSERT/SELECT and excessive foreign key checks
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: [PATCHES] COPYable logs