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