How do you espace special characters in string passed to to_tsquery? For instance, this kind of query:
to_tsquery
select to_tsquery(\'AT&T\');
I found this comment very useful that uses the plainto_tsquery('AT&T) function https://stackoverflow.com/a/16020565/350195
plainto_tsquery('AT&T)