diff options
| author | Fujii Masao | 2026-07-08 00:04:31 +0000 |
|---|---|---|
| committer | Fujii Masao | 2026-07-08 00:05:37 +0000 |
| commit | 4eccaa8d23a249369e72443d9cfffd2cc3576ef6 (patch) | |
| tree | 76e5fd69e3df1cab37452f8f69cd2b8884977621 /doc | |
| parent | 485527190a97f7eb57a1ce28e140d9e5f3f60f0a (diff) | |
doc: Fix typo in rule-system view example
Commit dcb00495236 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
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/src/sgml/rules.sgml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/rules.sgml b/doc/src/sgml/rules.sgml index d229b94d396..445a0e15a6a 100644 --- a/doc/src/sgml/rules.sgml +++ b/doc/src/sgml/rules.sgml @@ -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> |
