From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, Andrew Dunstan <andrew(at)dunslane(dot)net>, PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: enumeration type? |
Date: | 2003-06-16 18:59:48 |
Message-ID: | Pine.LNX.4.44.0306162017530.2751-100000@peter.localdomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)gmx(dot)net
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2003-06-16 19:00:26 | Domains and function arguments |
Previous Message | Oleg Bartunov | 2003-06-16 18:15:16 | confused with encodings |