matching against a list of regexp?

Поиск
Список
Период
Сортировка
От Gauthier, Dave
Тема matching against a list of regexp?
Дата
Msg-id 482E80323A35A54498B8B70FF2B8798004D5AB1CF1@azsmsx504.amr.corp.intel.com
обсуждение исходный текст
Ответы Re: matching against a list of regexp?
Список pgsql-general

Hi:

 

I need to be able to select all records with a col value that matches any of a list of regexp.  Sort of like...

 

select a,b,c from foo where d ~ ('^xyz','blah','shrug$');

 

Does anyone know the right syntax for this?

 

Thanks!

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

Предыдущее
От: Ben Chobot
Дата:
Сообщение: Re: WAL file size vs. data file size
Следующее
От: Richard Broersma
Дата:
Сообщение: Re: matching against a list of regexp?