Hi!
As of PostgreSQL 9.1 it is not possible to declare check constraints on composite types, according to http://www.postgresql.org/docs/9.1/interactive/rowtypes.html. I cannot use domains in that particular context, because I want to have the check constraint check for a combination of fields in that composite type.
Are there any plans to have this feature implemented in the near future?
Regards,
Ralph