followed by example doesn't work

2017-12-03 Thread barbiomalefico
The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/9.6/static/textsearch-intro.html Description: I copied the text in the followed by example: SELECT to_tsvector('fatal error') @@ to_tsquery('fatal <-> error'); but it will always goes in err

Re: followed by example doesn't work

2017-12-03 Thread Tom Lane
barbiomalef...@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: followed by example doesn't work

2017-12-03 Thread David G. Johnston
On Sunday, December 3, 2017, Tom Lane wrote: > barbiomalef...@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 > > <-> erro