docs: use alias in WHERE clause of full text search example
authorBruce Momjian <bruce@momjian.us>
Sat, 21 Mar 2020 00:19:32 +0000 (20:19 -0400)
committerBruce Momjian <bruce@momjian.us>
Sat, 21 Mar 2020 00:19:32 +0000 (20:19 -0400)
commit514aca63ea565b23756282bd6c77eb30fc9398b7
treeda412b5e96354da07eecd08734d6fc83a70e7843
parent3163349fd7fe0115b021bfa1fbe4990143957814
docs:  use alias in WHERE clause of full text search example

The current doc query specified an alias in the FROM clause and used in
it the target list, but not in the WHERE clause.

Reported-by: axykon@gmail.com
Discussion: https://postgr.es/m/158316348159.30450.16075357948244298217@wrigleys.postgresql.org

Backpatch-through: 9.5
doc/src/sgml/textsearch.sgml