mirror of
https://github.com/postgres/postgres.git
synced 2026-07-08 17:20:57 -04:00
doc: Fix typo in rule-system view example
Commit dcb0049523 accidentally changed the final expanded query's
condition to > 2 while rewriting the example into SQL operator notation.
The original query and the preceding rewritten forms all use >= 2,
and view expansion should preserve that qualification. This commit
changes the final condition from > 2 to >= 2.
Backpatch to all supported versions.
Reported-by: Yaroslav Saburov <y.saburov@gmail.com>
Author: Fujii Masao <masao.fujii@gmail.com>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://postgr.es/m/178248467618.108999.9966122434342474006@wrigleys.postgresql.org
Backpatch-through: 14
This commit is contained in:
parent
485527190a
commit
4eccaa8d23
1 changed files with 1 additions and 1 deletions
|
|
@ -630,7 +630,7 @@ SELECT shoe_ready.shoename, shoe_ready.sh_avail,
|
|||
WHERE rsl.sl_color = rsh.slcolor
|
||||
AND rsl.sl_len_cm >= rsh.slminlen_cm
|
||||
AND rsl.sl_len_cm <= rsh.slmaxlen_cm) shoe_ready
|
||||
WHERE shoe_ready.total_avail > 2;
|
||||
WHERE shoe_ready.total_avail >= 2;
|
||||
</programlisting>
|
||||
</para>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue