[NOT] (LIKE|ILIKE) (ANY|ALL) (...)

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема [NOT] (LIKE|ILIKE) (ANY|ALL) (...)
Дата
Msg-id Pine.LNX.4.58.0403251632220.7217@sablons.cri.ensmp.fr
обсуждение исходный текст
Ответы Re: [NOT] (LIKE|ILIKE) (ANY|ALL) (...)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Dear Patchers,

Please find attached a patch which allows "LIKE/ILIKE/NOT LIKE/NOT ILIKE"
as operators for ANY/SOME/ALL constructs.

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

It should also fix some other places where a "~~" operator was allowed,
but not the LIKE operator in the very same place.

However, this patch does not address "SIMILAR TO", as its "hacked"
implementation does not fit the already existing structures for ANY/ALL.
I've added a comment about this in the regression tests.

It validates for me against current CVS head.

Have a nice day,

--
Fabien Coelho.

Вложения

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

Предыдущее
От: "Andrew Dunstan"
Дата:
Сообщение: Re: installdir patch for win32
Следующее
От: "Magnus Hagander"
Дата:
Сообщение: Re: APC/socket fix (final?)