Re: Boolean operators without commutators vs. ALL/ANY

Peter Eisentraut <peter_e@gmx.net>

From: Peter Eisentraut <peter_e@gmx.net>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: Robert Haas <robertmhaas@gmail.com>, Florian Pflug <fgp@phlo.org>, PG Hackers <pgsql-hackers@postgresql.org>
Date: 2011-06-16T04:38:14Z
Lists: pgsql-hackers
On mån, 2011-06-13 at 10:19 -0400, Andrew Dunstan wrote:
> On 06/13/2011 10:07 AM, Robert Haas wrote:
> > Some languages use =~ and some use just ~... I was just
> > wondering if anyone thought the commutator of =~ was ~=...
> 
> My feeling is it's a bit dangerous. It's too easy to fat-finger the 
> reverse op, and get something quite unintended.

Yes, it looked highly dangerous to me as well.