BUG #15751: Unexpected behaviour at plainto_tsquery funciton

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: ozan(dot)gerdaneri(at)gmail(dot)com
Subject: BUG #15751: Unexpected behaviour at plainto_tsquery funciton
Date: 2019-04-13 21:11:30
Message-ID: 15751-e56659a134930bc9@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 15751
Logged by: Ozan Gerdaneri
Email address: ozan(dot)gerdaneri(at)gmail(dot)com
PostgreSQL version: 11.0
Operating system: win 10
Description:

Hi,
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?
^
********** Error **********

ERROR: column "cat" does not exist
SQL state: 42703
Character: 511

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Daniel Gustafsson 2019-04-13 21:27:53 Re: BUG #15751: Unexpected behaviour at plainto_tsquery funciton
Previous Message PG Bug reporting form 2019-04-13 17:08:21 BUG #15750: don't have server