I looked on the to-do list and noticed adding check constraints to domains is not on it. IMO, being able to add a validation constraint is one of the very best things about domains. Is anybody planning to work on this?
Regards,
Merlin
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных