On 2/2/17 15:49, postgresql@eric.brechemier.name wrote:
> Page: https://www.postgresql.org/docs/9.6/static/sql-createdomain.html
> Description:
>
> The documentation of CREATE DOMAIN currently describes how optional
> constraints can be useful for the fields of a table. There is no mention of
> functions in this page.
There is an example using operators, which is pretty much the same thing.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services