> On 13 Apr 2019, at 23:11, PG Bug reporting form <noreply(at)postgresql(dot)org> wrote:
>
> My query is like this :
> .......
> WHERE to_tsvector(COALESCE("blog"."name" )) @@ (plainto_tsquery("cat")) =
> true
>
> That is, I am searching for the word "cat" in name column. But the following
> error is given. Why is plainto_tsquery is looking for a column name?
> ^
Quoted strings become SQL identifiers, what you want to do is using single
quotes in order to make it a string: 'cat'
cheers ./daniel