Re: Boolean operators without commutators vs. ALL/ANY
От
Robert Haas
Тема
Re: Boolean operators without commutators vs. ALL/ANY
Дата
Msg-id
BANLkTi=r4xFkdj_kZFhaAAeqW7d744FdOA@mail.gmail.com
Ответ на
Re: Boolean operators without commutators vs. ALL/ANY (Florian Pflug)
Список
Дерево обсуждения
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>
[WIP] Support for "ANY/ALL(array) op scalar" (Was: Re: Boolean operators without commutators vs. ALL/ANY) Florian Pflug <fgp@phlo.org>
Re: [WIP] Support for "ANY/ALL(array) op scalar" (Was: Re: Boolean operators without commutators vs. ALL/ANY) Tom Lane <tgl@sss.pgh.pa.us>
Re: [WIP] Support for "ANY/ALL(array) op scalar" (Was: Re:
Boolean operators without commutators vs. ALL/ANY) Peter Eisentraut <peter_e@gmx.net>
Re: [WIP] Support for "ANY/ALL(array) op scalar" (Was: Re: Boolean operators without commutators vs. ALL/ANY) Tom Lane <tgl@sss.pgh.pa.us>
Re: [WIP] Support for "ANY/ALL(array) op scalar" (Was: Re: Boolean
operators without commutators vs. ALL/ANY) David Fetter <david@fetter.org>
Re: [WIP] Support for "ANY/ALL(array) op scalar" (Was: 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 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 Tue, Jun 14, 2011 at 6:10 AM, Florian Pflug wrote: > 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). I don't think we want to bump catversion again before release if we can avoid it. And I don't see this as being a terribly urgent problem - it's not like this is a new regression, and I can't remember hearing any complaints about it prior to two days ago. > Since "~" doesn't inspire any obvious names for a possible commutator, > I suggest adding "=~" and "~=". > > Is there any support for that proposal? I'm OK with adding a commutator but I guess I don't see the point of adding a synonym for ~ along the way. The existing use of ~ is consistent with, for example, awk, so it's not like we've dreamed up something utterly crazy that we now need to fix. I'd suggest we just come up with some arbitrary variant, like ~~ or <~ or #~ or !#!%@~bikeshed++!. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
В списке pgsql-hackers по дате отправления
От: Robert Haas
Дата: