LIKE ANY and the like?

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема LIKE ANY and the like?
Дата
Msg-id Pine.LNX.4.58.0403230853420.7217@sablons.cri.ensmp.fr
обсуждение исходный текст
Список pgsql-hackers
Dear hackers,

a small inconsistency with the syntax of any/all as describe from the
documentation. One can write:

psql> SELECT 'foo' ~~ ANY (ARRAY['%a%','%o%']);

although the following yields a syntax error, even if LIKE is an operator,
thus it should be allowed.

psql> SELECT 'foo' LIKE ANY (ARRAY['%a%','%o%']);

IMHO, it would make sense to allow the later unless some critical parser
implication, as an average user (say, me;-) would try that before the
first one.

=> Add to todo list?

Have a nice day,

-- 
Fabien Coelho - coelho@cri.ensmp.fr


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: bug in 7.4 SET WITHOUT OIDs
Следующее
От: Neil Conway
Дата:
Сообщение: linked list rewrite