barbiomalefico(at)gmail(dot)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