3 ms·
Check DOMAINs. They are derived data types that take a base type and add, optionally, one or more CHECK constraints to them. They are not perfect, but probably
by ahachete 4y ago
Check DOMAINs. They are derived data types that take a base type and add, optionally, one or more CHECK constraints to them.
They are not perfect, but probably something close to what you are looking for.
- moralestapia 4y agoThanks for this (!), I didn't know PG had support for data domains, wow.