Re: [DOCS] recommending change to first example in 7.8.1 - Mailing list pgsql-docs

From David G. Johnston
Subject Re: [DOCS] recommending change to first example in 7.8.1
Date
Msg-id CAKFQuwae5k6K5jNkn1e-q1XAVR+msaNqdtaizzdYS6+kNXEOuw@mail.gmail.com
Whole thread Raw
In response to [DOCS] recommending change to first example in 7.8.1  (ruth@dannerdata.com)
List pgsql-docs
On Monday, July 24, 2017, <ruth@dannerdata.com> wrote:
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/9.6/static/queries-with.html
Description:

The first example in 7.8.1 shown below includes a field called &#39;quantity&#39; to
be summed in the primary SELECT statement. I think this is a mistake. 

It isn't.
 
I do
not think this field exists in the WITH virtual table

It wouldn't matter if it did since in the main query the only from item is the orders table which can be reasonably assumed to contain a quantity column.

David J.

pgsql-docs by date:

Previous
From: Daniel Westermann
Date:
Subject: [DOCS] DEFERRABLE/NOT DEFERRABLE, what is a command?
Next
From: holger@jakobs.com
Date:
Subject: [DOCS] does pg_upgrade on Windows use junction points or hard links?