Re: Boolean operators without commutators vs. ALL/ANY

Поиск
Список
Период
Сортировка
Искать
От
Florian Pflug
Тема
Re: Boolean operators without commutators vs. ALL/ANY
Дата
Msg-id
E72034A3-D7CF-47EF-AB91-11A02B8090F5@phlo.org
Ответ на
Список
Дерево обсуждения
Boolean operators without commutators vs. ALL/ANY Florian Pflug <fgp@phlo.org>
Re: Boolean operators without commutators vs. ALL/ANY Robert Haas <robertmhaas@gmail.com>
Re: Boolean operators without commutators vs. ALL/ANY Florian Pflug <fgp@phlo.org>
Re: Boolean operators without commutators vs. ALL/ANY David Fetter <david@fetter.org>
Re: Boolean operators without commutators vs. ALL/ANY Robert Haas <robertmhaas@gmail.com>
Re: Boolean operators without commutators vs. ALL/ANY Andrew Dunstan <andrew@dunslane.net>
Re: Boolean operators without commutators vs. ALL/ANY Florian Pflug <fgp@phlo.org>
Re: Boolean operators without commutators vs. ALL/ANY Peter Eisentraut <peter_e@gmx.net>
Re: Boolean operators without commutators vs. ALL/ANY Tom Lane <tgl@sss.pgh.pa.us>
Re: Boolean operators without commutators vs. ALL/ANY Florian Pflug <fgp@phlo.org>
Re: Boolean operators without commutators vs. ALL/ANY Robert Haas <robertmhaas@gmail.com>
Re: Boolean operators without commutators vs. ALL/ANY Tom Lane <tgl@sss.pgh.pa.us>
Re: Boolean operators without commutators vs. ALL/ANY Florian Pflug <fgp@phlo.org>
Re: Boolean operators without commutators vs. ALL/ANY Robert Haas <robertmhaas@gmail.com>
Re: Boolean operators without commutators vs. ALL/ANY Florian Pflug <fgp@phlo.org>
Re: Boolean operators without commutators vs. ALL/ANY Peter Eisentraut <peter_e@gmx.net>
Re: Boolean operators without commutators vs. ALL/ANY Tom Lane <tgl@sss.pgh.pa.us>
Re: Boolean operators without commutators vs. ALL/ANY Peter Eisentraut <peter_e@gmx.net>
Re: Boolean operators without commutators vs. ALL/ANY Tom Lane <tgl@sss.pgh.pa.us>
Re: Boolean operators without commutators vs. ALL/ANY Alvaro Herrera <alvherre@commandprompt.com>
Re: Boolean operators without commutators vs. ALL/ANY Florian Pflug <fgp@phlo.org>
Re: Boolean operators without commutators vs. ALL/ANY Alvaro Herrera <alvherre@commandprompt.com>
Re: Boolean operators without commutators vs. ALL/ANY Florian Pflug <fgp@phlo.org>
Re: Boolean operators without commutators vs. ALL/ANY Alvaro Herrera <alvherre@commandprompt.com>
Re: Boolean operators without commutators vs. ALL/ANY "Ross J. Reedstrom" <reedstrm@rice.edu>
Re: Boolean operators without commutators vs. ALL/ANY Florian Pflug <fgp@phlo.org>
Re: Boolean operators without commutators vs. ALL/ANY "Ross J. Reedstrom" <reedstrm@rice.edu>
Re: Boolean operators without commutators vs. ALL/ANY Florian Pflug <fgp@phlo.org>
Re: Boolean operators without commutators vs. ALL/ANY Alvaro Herrera <alvherre@commandprompt.com>
Re: Boolean operators without commutators vs. ALL/ANY Florian Pflug <fgp@phlo.org>
Re: Boolean operators without commutators vs. ALL/ANY Robert Haas <robertmhaas@gmail.com>
Re: Boolean operators without commutators vs. ALL/ANY Florian Pflug <fgp@phlo.org>
Re: Boolean operators without commutators vs. ALL/ANY Greg Stark <stark@mit.edu>
Re: Boolean operators without commutators vs. ALL/ANY Florian Pflug <fgp@phlo.org>
Re: Boolean operators without commutators vs. ALL/ANY Alvaro Herrera <alvherre@commandprompt.com>
Re: Boolean operators without commutators vs. ALL/ANY Florian Pflug <fgp@phlo.org>
Re: Boolean operators without commutators vs. ALL/ANY Andrew Dunstan <andrew@dunslane.net>
Re: Boolean operators without commutators vs. ALL/ANY Robert Haas <robertmhaas@gmail.com>
Re: Boolean operators without commutators vs. ALL/ANY Tom Lane <tgl@sss.pgh.pa.us>
Re: Boolean operators without commutators vs. ALL/ANY Florian Pflug <fgp@phlo.org>
Re: Boolean operators without commutators vs. ALL/ANY Tom Lane <tgl@sss.pgh.pa.us>
Re: Boolean operators without commutators vs. ALL/ANY Florian Pflug <fgp@phlo.org>
Re: Boolean operators without commutators vs. ALL/ANY Robert Haas <robertmhaas@gmail.com>
Re: Boolean operators without commutators vs. ALL/ANY "Stephen J. Butler" <stephen.butler@gmail.com>
On Jun13, 2011, at 05:44 , Tom Lane wrote:
> Robert Haas  writes:
>> On Sun, Jun 12, 2011 at 7:46 AM, Florian Pflug  wrote:
>>> (B) There should be a way to use ANY()/ALL() with the
>>> array elements becoming the left arguments of the operator.
> 
>> It seems to me that if we provided some way of handling this, your
>> first proposal would be moot; and I have to say I like the idea of
>> allowing this a lot more than tinkering with the operator names.
> 
> There are syntactic reasons not to do that.  It'd be a lot easier just
> to provide a commutator operator for ~.

My suggestion would be the add a commutator for "~" as a short-term
solution (preferably in 9.1).

Since "~" doesn't inspire any obvious names for a possible commutator,
I suggest adding "=~" and "~=".

Is there any support for that proposal?

In the long term, I'd like to add support for "(ANY()  )"
(Note the enclosing parens). I've checked that this works grammar-wise,
but haven't no idea how much tweaking the executor needs to support
that...

best regards,
Florian Pflug


В списке pgsql-hackers по дате отправления
От: Florian Pflug
Дата:
От: Heikki Linnakangas
Дата:
Сообщение: Re: SSI work for 9.1
FAQ