On Fri, Oct 18, 2013 at 7:21 PM, Jim Nasby <jim@nasby.net> wrote:
> Yeah, but hasn't every case of this that we've run into been directly
> related to casting problems, and not function or operator preference?
No.
> Something else I'm wondering is if priority should actually be something
> that's numbered instead of just a boolean. I can see far more logic to
> implicitly casting text to double than I can text to interval, but if a cast
> to double won't actually get you where you want and a cast to interval
> will... Maybe it's possible to account for all those cases with just a
> boolean... maybe not.
I wondered about this, too.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company