Re: enumeration type? - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: enumeration type?
Date
Msg-id Pine.LNX.4.44.0306162017530.2751-100000@peter.localdomain
Whole thread Raw
In response to Re: enumeration type?  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Oleg Bartunov
Date:
Subject: confused with encodings
Next
From: Peter Eisentraut
Date:
Subject: Domains and function arguments