Re: [DOCS] recommending change to first example in 7.8.1

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: [DOCS] recommending change to first example in 7.8.1
Дата
Msg-id CAKFQuwae5k6K5jNkn1e-q1XAVR+msaNqdtaizzdYS6+kNXEOuw@mail.gmail.com
обсуждение исходный текст
Ответ на [DOCS] recommending change to first example in 7.8.1  (ruth@dannerdata.com)
Список 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 по дате отправления: