From: Tom Lane <tgl@sss.pgh.pa.us>
To: barbiomalefico@gmail.com
Cc: pgsql-docs@postgresql.org
Subject: Re: followed by example doesn't work
Date: Sun, 03 Dec 2017 10:22:33 -0500
Message-ID: <27323.1512314553@sss.pgh.pa.us> (raw)
In-Reply-To: <20171203093546.27110.95117@wrigleys.postgresql.org>
References: <20171203093546.27110.95117@wrigleys.postgresql.org>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: tgl@sss.pgh.pa.us, barbiomalefico@gmail.com
Subject: Re: followed by example doesn't work
In-Reply-To: <27323.1512314553@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox