Re: INSERT/SELECT and excessive foreign key checks - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: INSERT/SELECT and excessive foreign key checks
Date
Msg-id 46C8BB0D.9000005@dunslane.net
Whole thread Raw
In response to Re: INSERT/SELECT and excessive foreign key checks  (James Mansion <james@mansionfamily.plus.com>)
List 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 by date:

Previous
From: Gregory Stark
Date:
Subject: Re: INSERT/SELECT and excessive foreign key checks
Next
From: Andrew Dunstan
Date:
Subject: Re: [PATCHES] COPYable logs