Re: MySQL Compatibility WAS: 8.5 release timetable, again - Mailing list pgsql-hackers

From Tino Wildenhain
Subject Re: MySQL Compatibility WAS: 8.5 release timetable, again
Date
Msg-id 4A964278.3060609@wildenhain.de
Whole thread Raw
In response to Re: MySQL Compatibility WAS: 8.5 release timetable, again  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: MySQL Compatibility WAS: postgresql.conf settings autoconfiguration  (Jean-Michel Pouré <jm@poure.com>)
List pgsql-hackers
Tom Lane wrote:
> Greg Stark <gsstark@mit.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

pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: We should Axe /contrib/start-scripts
Next
From: Boszormenyi Zoltan
Date:
Subject: Build system problem in 8.3.x