Re: Code tables, conditional foreign keys?

Поиск
Список
Период
Сортировка
От Rodrigo E. De León Plicet
Тема Re: Code tables, conditional foreign keys?
Дата
Msg-id a55915760905222105t69e27227pb57f363c435489ca@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Code tables, conditional foreign keys?  (Scott Marlowe <scott.marlowe@gmail.com>)
Ответы Re: Code tables, conditional foreign keys?  (Conrad Lender <crlender@gmail.com>)
Список pgsql-general
On Fri, May 22, 2009 at 10:38 PM, Scott Marlowe <scott.marlowe@gmail.com> wrote:
> On Fri, May 22, 2009 at 4:10 PM, Benjamin Smith
> <lists@benjamindsmith.com> wrote:
>>
>> Is there a better way?
>
> Yeah, natural keys.

+1.

Also, what Ben described reeks of EAV.

Ben, please read:

http://joecelkothesqlapprentice.blogspot.com/2006/04/using-one-table-vs-many.html

... and avoid traveling down that (ugly) path.

Good luck.

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

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: Code tables, conditional foreign keys?
Следующее
От: Henry
Дата:
Сообщение: Excessive (?) Pg file descriptor use when partitioning