Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> Ron Johnson wrote:
>> When domains allow CHECK constraints, that would be simplified, wouldn't
>> it?
> I thought we did support it:
> test=> CREATE DOMAIN unsigned AS int4 CHECK ( VALUE > 0);
> CREATE DOMAIN
It's new for 7.4, though.
regards, tom lane