Tom Lane wrote: > Peter Eisentraut <[EMAIL PROTECTED]> writes: > > Tom Lane writes: > >> No, a view is not a table. Try putting an index or trigger on it. > > > According to that logic, a domain is not a type. Try putting a check > > constraint on it. > > But that's an additional feature, not a missing feature.
And added in 7.4: Add DOMAIN CHECK constraints (Rod) -- Bruce Momjian | http://candle.pha.pa.us [EMAIL PROTECTED] | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073 ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org