Re: followed by example doesn't work - Mailing list pgsql-docs

From Tom Lane
Subject Re: followed by example doesn't work
Date
Msg-id 27323.1512314553@sss.pgh.pa.us
Whole thread Raw
In response to followed by example doesn't work  (barbiomalefico@gmail.com)
Responses Re: followed by example doesn't work  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-docs
barbiomalefico@gmail.com writes:
> I copied the text in the followed by example: SELECT to_tsvector('fatal
> error') @@ to_tsquery('fatal <-> error');
> but it will always goes in error: ERROR:  syntax error in tsquery: "fatal
> <-> error"
> SQL state: 42601

The described symptoms sound like you're trying to use <-> with a pre-9.6
server.  Since that feature was added in 9.6, it won't work.

We generally don't recommend reading documentation versions that don't
match your server.

            regards, tom lane


pgsql-docs by date:

Previous
From: barbiomalefico@gmail.com
Date:
Subject: followed by example doesn't work
Next
From: "David G. Johnston"
Date:
Subject: Re: followed by example doesn't work