Search Postgresql Archives

regexp searching in arrays not working?

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

 



Hi all,
have a column which is of type text[]. the following works:

       select * from table where 'Transformer' = ANY (thiscol)

this also works
  
        select * from table where 'Transformer' ~ ANY (thiscol)

however if i have a partial string like so

         select * from table where 'Trans' ~ ANY (thiscol)

it returns nothing.

Is regex searching not functioning (as i expect it to?) i searched the docs and didnt see anything about it.



Regards

Rhys




[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