Re: Table-design for categories, suggestions needed

Поиск
Список
Период
Сортировка
От gargoyle60
Тема Re: Table-design for categories, suggestions needed
Дата
Msg-id j33q5693gk91nbu98rc64audgkm873ah49@4ax.com
обсуждение исходный текст
Ответ на Table-design for categories, suggestions needed  (Rikard Bosnjakovic <rikard.bosnjakovic@gmail.com>)
Ответы Re: Table-design for categories, suggestions needed  (Victor Hugo <vh.clemente@gmail.com>)
Re: Table-design for categories, suggestions needed  (Lew <noone@lewscanon.com>)
Список pgsql-novice
On Fri, 06 Aug 2010 19:54:01 -0400, Lew <noone@lewscanon.com> wrote:

>On 08/05/2010 04:06 AM, gargoyle60 wrote:
>> Oops, that should read...
>>       ...
>>         FOREIGN KEY (parent_level)
>>             REFERENCES category (category_level)
>
>So category (category_level) is a unique or primary key, then.

Something like that, probably with (category_level, category_code).
Like I said, I never got around to implementing the provisional design and there may be more to it
than that.

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

Предыдущее
От: Leon Starr
Дата:
Сообщение: Re: Best way to test/develop lots of nested functions?
Следующее
От: Lew
Дата:
Сообщение: Re: Table-design for categories, suggestions needed