Re: Boolean operators without commutators vs. ALL/ANY

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: Florian Pflug <fgp@phlo.org>, Robert Haas <robertmhaas@gmail.com>, PG Hackers <pgsql-hackers@postgresql.org>
Date: 2011-06-16T21:33:17Z
Lists: pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> I don't really agree that visual correlation needs to trump everything.
> If say
>     foo =~ bar
> and
>     foo ~= bar
> were to produce completely different results, this would introduce bugs
> all over the place.

Huh?  That's about like arguing that standard mathematical notation is
broken because a < b and a > b don't produce the same result.

			regards, tom lane