Example not producing shown output
PG Doc comments form <[email protected]> Mon, 25 Nov 2019 12:05:17 +0000
| Newsgroups | gmane.comp.db.postgresql.devel.documentation |
|---|---|
| Message-ID | <[email protected]> |
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/12/functions-textsearch.html
Description:
Page: https://www.postgresql.org/docs/12/functions-textsearch.html
Examples should have specified 'english'.
Instead:
to_tsvector('fat cats ate rats') @@ to_tsquery('cat & rat')
which returns fale on my own blank installation of Postgre (Serbian locale
Windows OS) instead of true:
to_tsvector('english', 'fat cats ate rats') @@ to_tsquery('cat & rat')