Content-Length: 257463 | pFad | http://github.com/postgrespro/postgres/commit/a6d7e9fb2816fcd23e5d1e95a52448eb9acf7f6e

88 docs: use alias in WHERE clause of full text search example · postgrespro/postgres@a6d7e9f · GitHub
Skip to content

Commit a6d7e9f

Browse files
committed
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
1 parent 069b750 commit a6d7e9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/sgml/textsearch.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ WHERE mid = 12;
200200

201201
SELECT m.title || ' ' || m.author || ' ' || m.abstract || ' ' || d.body AS document
202202
FROM messages m, docs d
203-
WHERE mid = did AND mid = 12;
203+
WHERE m.mid = d.did AND m.mid = 12;
204204
</programlisting>
205205
</para>
206206

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/a6d7e9fb2816fcd23e5d1e95a52448eb9acf7f6e

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy