Thread: What is the difference between creating a type, and a domain ?

What is the difference between creating a type, and a domain ?

From
stan
Date:
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 ?

From
Tom Lane
Date:
stan <stanb@panix.com> 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