The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/18/rules-views.html
Description:
Please check that the condition in the query is correct.
> 39.2.1. How SELECT Rules Work
Similarly, the rules for shoe and shoelace are substituted into the range
table of the subquery, leading to a three-level final query tree:
SELECT shoe_ready.shoename, shoe_ready.sh_avail,
shoe_ready.sl_name, shoe_ready.sl_avail,
shoe_ready.total_avail
...
...
WHERE shoe_ready.total_avail > 2; ??? (maybe WHERE shoe_ready.total_avail
>= 2;)