PostgreSQL Bugs

Collected from the PG bugs email list.

Bug ID15751
PG Version11.0
OSwin 10
Opened2019-04-13 21:11:30+00
Reported byOzan Gerdaneri
StatusNew

Body of first available message related to this bug follows.

The following bug has been logged on the website:

Bug reference:      15751
Logged by:          Ozan Gerdaneri
Email address:      (redacted)
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

Messages

DateAuthorSubject
2019-04-13 21:11:30+00PG Bug reporting formBUG #15751: Unexpected behaviour at plainto_tsquery funciton
2019-04-13 21:27:53+00Daniel GustafssonRe: BUG #15751: Unexpected behaviour at plainto_tsquery funciton