pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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(&#39;fatal
> error&#39;) @@ to_tsquery(&#39;fatal &lt;-&gt; error&#39;); 
> but it will always goes in error: ERROR:  syntax error in tsquery: &quot;fatal
> &lt;-&gt; error&quot;
> 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




view thread (6+ messages)  latest in thread

Message-ID: <27323.1512314553@sss.pgh.pa.us>
Permalink:  ../27323.1512314553@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/27323.1512314553@sss.pgh.pa.us

 · 

reply

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