Re: Boolean operators without commutators vs. ALL/ANY

Поиск
Список
Период
Сортировка
Искать
От
Andrew Dunstan
Тема
Re: Boolean operators without commutators vs. ALL/ANY
Дата
Msg-id
4DFB68F7.2040605@dunslane.net
Ответ на
Список
Дерево обсуждения
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 06/17/2011 10:20 AM, Alvaro Herrera wrote:
> alvherre=# \doS ~
>
>                                                Listado de operadores
>    Esquema   | Nombre | Tipo arg izq | Tipo arg der | Tipo resultado |                Descripción
> ------------+--------+--------------+--------------+----------------+--------------------------------------------
> ...
>   pg_catalog | ~      | text         | text         | boolean        | matches regular expression, case-sensitive
>
> Note that there's no way to tell which is the regex here.  It'd be a lot
> better if the description was explicit about it.  (Or, alternatively,
> use a different data type for regexes than plain text ... but that has
> been in the Todo list for years ...)


+1 for improving the description.

>
> Have ~ keep its existing semantics, use ~= for the commutator?  There
> are a lot more chars allowed in operator names anyway, it doesn't seem
> to me like we need to limit ourselves to ~, = and @.


Yeah, maybe something like ~< for the commutator. (I know, we're 
bikeshedding somewhat.)


> I *do* like the idea of having commutate-ability for ANY/ALL, having
> needed it a couple of times in the past.
>

Indeed. me too.

cheers

andrew

В списке pgsql-hackers по дате отправления
От: Robert Haas
Дата:
От: Florian Pflug
Дата:
FAQ