Re: followed by example doesn't work

From: Rudy Barbieri <barbiomalefico(at)gmail(dot)com>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "pgsql-docs(at)postgresql(dot)org" <pgsql-docs(at)postgresql(dot)org>
Subject: Re: followed by example doesn't work
Date: 2017-12-04 08:02:56
Message-ID: CAOVPVLOP39vbcNbmF9JkRykKzaTAetrqAfweggaJRnDTvhpNow@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Thanks for the tip!
But it could be better improve the documentation highlighting that in
previous versions there was a bug.

Il 03 dic 2017 5:40 PM, "David G. Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> ha
scritto:

> On Sunday, December 3, 2017, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
>> barbiomalefico(at)gmail(dot)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.
>>
>>
> 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.
>

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2017-12-04 14:48:08 Re: followed by example doesn't work
Previous Message David G. Johnston 2017-12-03 16:40:16 Re: followed by example doesn't work