'enum' equivalent?

Поиск
Список
Период
Сортировка
От Dan Lyke
Тема 'enum' equivalent?
Дата
Msg-id 14956.33016.894496.485456@wynand.flutterby.com
обсуждение исходный текст
Ответ на 'enum' equivalent?  (Steve Leibel <stevel@bluetuna.com>)
Список pgsql-general
Steve Leibel writes:
> I'm converting a mysql database to postgres.  Is there an equivalent
> for the enum data type?

No, but you can put the enum data in a separate table and join
them. This also makes the operation of adding entries to the enum list
better defined.

Dan

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

Предыдущее
От: "Steve Wolfe"
Дата:
Сообщение: "recovery mode"
Следующее
От: Joel Bernstein
Дата:
Сообщение: Re: Why does the JDBC driver not support prepareCall?