Re: [BUGS] BUG #14518: FTS index not triggered when using function to provide the tsquery - Mailing list pgsql-bugs

From Tom Lane
Subject Re: [BUGS] BUG #14518: FTS index not triggered when using function to provide the tsquery
Date
Msg-id 28388.1485525888@sss.pgh.pa.us
Whole thread Raw
In response to [BUGS] BUG #14518: FTS index not triggered when using function to providethe tsquery  (grau.fran@gmail.com)
List pgsql-bugs
Francisco Grau <grau.fran@gmail.com> writes:
> That makes perfect sense. It is weird that it works using the CTE though.

Well, the CTE forces single evaluation, so that the value is a constant
again from the outer query's perspective.

            regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

pgsql-bugs by date:

Previous
From: Francisco Grau
Date:
Subject: Re: [BUGS] BUG #14518: FTS index not triggered when using function toprovide the tsquery
Next
From: sellier nicolas
Date:
Subject: [BUGS]