Re: ENUM like data type

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Rod Taylor <pg(at)rbt(dot)ca>, Martín Marqués <martin(at)bugs(dot)unl(dot)edu(dot)ar>, pgsql-sql(at)postgresql(dot)org
Subject: Re: ENUM like data type
Date: 2005-06-30 11:13:05
Message-ID: 200506301313.06054.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Am Donnerstag, 30. Juni 2005 00:55 schrieb Tom Lane:
> It's not that hard to make your own type using the builtin textin and
> textout functions, and then add just the functions you wish to provide.

Implementing the "distinct type" feature of SQL would probably amount to
something like that. Might be worth looking into.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Peter Eisentraut 2005-06-30 11:18:10 Re: SQL Query question
Previous Message Greg Sabino Mullane 2005-06-30 10:39:25 Re: ORDER records based on parameters in IN clause