pgsql: doc: Fix typo in rule-system view example

From: Fujii Masao <fujii(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: doc: Fix typo in rule-system view example
Date: 2026-07-08 00:07:32
Message-ID: E1whFp6-0004TB-0D@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(dot)saburov(at)gmail(dot)com>
Author: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Reviewed-by: Daniel Gustafsson <daniel(at)yesql(dot)se>
Discussion: https://postgr.es/m/178248467618.108999.9966122434342474006@wrigleys.postgresql.org
Backpatch-through: 14

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/1e8f393f2d037d3821e79349c8fac22ce697e8cd

Modified Files
--------------
doc/src/sgml/rules.sgml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Richard Guo 2026-07-08 00:38:59 pgsql: Propagate stadistinct through GROUP BY/DISTINCT in subqueries an
Previous Message Fujii Masao 2026-07-08 00:07:23 pgsql: doc: Fix typo in rule-system view example