Re: Array of foreign key

Поиск
Список
Период
Сортировка
От Andreas Kretschmer
Тема Re: Array of foreign key
Дата
Msg-id B4846243-6401-4BF0-828C-BB3906DA423C@a-kretschmer.de
обсуждение исходный текст
Ответ на Re: Array of foreign key  (Melvin Davidson <melvin6925@gmail.com>)
Ответы Re: Array of foreign key  ("Peter J. Holzer" <hjp-pgsql@hjp.at>)
Список pgsql-general
>Please DO NOT use EMUMs. That is old. They are hard to maintain. I also
>know from experience that MySql does not check
>integrity of enums. It's possible you can have data in a MySql table
>column
>that is not valid for current enum constraint on that column.
>EG: When porting, the enum for a columm (VALID) was "yes, no", but I
>found
>a few that had "maybe" as data.
>
>The way to go is to simply implement FOREIGN KEYs. Much easier to
>maintain
>in PostgreSQL.


Full ack.

Andreas


--
2ndQuadrant - The PostgreSQL Support Company


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

Предыдущее
От: Melvin Davidson
Дата:
Сообщение: Re: Array of foreign key
Следующее
От: Jeremy Finzel
Дата:
Сообщение: Problem with pgq3 packages missing pgq_node