On Sun, 2003-08-17 at 14:30, ivan wrote: > but in real alias_to_int is equal to int, only with other name; > its should be like typedef from c/c++ ?
Not necessarily. CREATE DOMAIN alias_to_int AS INT CHECK(VALUE BETWEEN 1 AND 4); The above is very different than plain old integer.
signature.asc
Description: This is a digitally signed message part