Re: enumeration type?

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: enumeration type?
Дата
Msg-id Pine.LNX.4.44.0306162017530.2751-100000@peter.localdomain
обсуждение исходный текст
Ответ на Re: enumeration type?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane writes:

> ENUMs do seem to have some advantages in convenience though.  And
> providing them or something closely comparable would ease porting
> from MySQL ... which is an important consideration in our plan for
> world domination ;-)

Now that domains have check constraints, I think enumerations can be
easily created without having to invent nonstandard features.  There's
also the advantage that you can create domains out of data types other
than text.

-- 
Peter Eisentraut   peter_e@gmx.net



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

Предыдущее
От: Oleg Bartunov
Дата:
Сообщение: confused with encodings
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Domains and function arguments