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

From David G. Johnston
Subject Re: followed by example doesn't work
Date
Msg-id CAKFQuwZMJCm-PaGa_Dy8bqQQVeYreiAkjZZzmeqAo+xFzXji4Q@mail.gmail.com
Whole thread Raw
In response to Re: followed by example doesn't work  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: followed by example doesn't work
List pgsql-docs
On Sunday, December 3, 2017, Tom Lane wrote: > 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. > > My interpretation of the doc reading advice is to read the newest version of the docs to learn about stuff but if you come across any errors, syntax or otherwise, then read your doc version to see how older releases differ. Non-bug enhancements to the docs are not usually back-patched and knowing how current releases work is valuable knowledge to have. David J.

pgsql-docs by date:

Previous
From: Tom Lane
Date:
Subject: Re: followed by example doesn't work
Next
From: Rudy Barbieri
Date:
Subject: Re: followed by example doesn't work