Re: Handling of quantity in recursive query example

2022-08-28 Thread Tom Lane
Simon Riggs writes: > On Sat, 27 Aug 2022 at 18:04, PG Doc comments form > wrote: >> As currently written, if a car has four wheels, and each wheel has five >> bolts, the whole example returns five bolts for the parts of a car. With the >> proposed change, it will return 20 bolts. > I agree, bas

Re: Handling of quantity in recursive query example

2022-08-28 Thread Simon Riggs
On Sat, 27 Aug 2022 at 18:04, PG Doc comments form wrote: > > The following documentation comment has been logged on the website: > > Page: https://www.postgresql.org/docs/14/queries-with.html > Description: > > I believe that the second query in section 7.8.2 (Recursive Queries) should > be modif

Handling of quantity in recursive query example

2022-08-27 Thread PG Doc comments form
The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/14/queries-with.html Description: I believe that the second query in section 7.8.2 (Recursive Queries) should be modified to properly account for quantities. In the recursive term, p.quantity