Search Postgresql Archives

matching against a list of regexp?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux