From: | Fernando Nasser <fnasser(at)redhat(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Thomas Lockhart <lockhart(at)fourpalms(dot)org>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Domains and type coercion |
Date: | 2002-03-20 21:33:57 |
Message-ID: | 3C990045.299A4F14@redhat.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Tom Lane wrote:
>
> (...) or put a special case into the operator selection rules to reduce
> domains to their basetypes before making the "exact match" test.
By definition,
which I believe should be read as
"A domain is a set of permissible values (of a data type)".
What I am trying to say is that the domain is still the same data type
w.r.t. operator and functions so reducing it to the basic type for
such searchs is the right thing to do.
> Neither of these seem real appealing, but if we don't do something
> I think that domains are going to be a big pain in the neck to use.
>
Agreed.
--
Fernando Nasser
Red Hat - Toronto E-Mail: fnasser(at)redhat(dot)com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9
From | Date | Subject | |
---|---|---|---|
Next Message | Fernando Nasser | 2002-03-20 21:45:22 | Re: Domains and type coercion |
Previous Message | Tom Lane | 2002-03-20 21:10:14 | Re: [GENERAL] Notify argument? |