What is the difference between creating a type, and a domain ?
What is the difference between creating a type, and a domain ?
От:
stan <stanb@panix.com>
Дата:
Subject basically says it all.
--
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
-- Benjamin Franklin
Re: What is the difference between creating a type, and a domain ?
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
stan writes:
> Subject basically says it all.
A domain is a kind of type ... but it's not the only kind of type.
https://www.postgresql.org/docs/current/domains.html
regards, tom lane