Tom Lane wrote:
> Greg Stark <gsstark(at)mit(dot)edu> writes:
>> Actually it always bothered me that we don't have implicit casts from
>> integer->boolean. I can't see any ambiguity or unintentional effects
>> this would cause problems with. Am I missing something?
>
> Personally, as an old Pascal-lover, I always thought that C's failure
> to distinguish between int and boolean was the single biggest design
> mistake in the language. I'm very glad that SQL doesn't make that
> mistake, and I don't want to go against the standard to introduce it.
Then you should love Python where everything non-empty is regarded True
in boolean context ;-)
Cheers
Tino