Ron Johnson writes:
> test1=# create domain d_tinyint as smallint constraint chk_tinyint CHECK (smallint between 0 and 255);
> ERROR: DefineDomain: CHECK Constraints not supported
>
> So, how would I create a domain that limits a smallint?
You would have to wait for PostgreSQL 7.4.
--
Peter Eisentraut peter_e@gmx.net