Re: No ~ operator for box, point - Mailing list pgsql-hackers

From Tom Lane
Subject Re: No ~ operator for box, point
Date
Msg-id 18739.1172621096@sss.pgh.pa.us
Whole thread Raw
In response to Re: No ~ operator for box, point  ("Jim C. Nasby" <jim@nasby.net>)
List pgsql-hackers
"Jim C. Nasby" <jim@nasby.net> writes:
> Is there any reason not to make these casts implicit?

To the extent that you're trying to provide operators that should be
indexable, that won't solve the problem.

I'm unconvinced that these casts should be implicit anyway, as the types
are really considerably different than, say, int2 and int4 --- there are
no operations on int4 that "don't make sense" for an int2, the way there
are for polygon vs. box.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Jim C. Nasby"
Date:
Subject: Re: COMMIT NOWAIT Performance Option
Next
From: Bruce Momjian
Date:
Subject: Re: COMMIT NOWAIT Performance Option