Re: recommending change to first example in 7.8.1

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: "ruth(at)dannerdata(dot)com" <ruth(at)dannerdata(dot)com>
Cc: "pgsql-docs(at)postgresql(dot)org" <pgsql-docs(at)postgresql(dot)org>
Subject: Re: recommending change to first example in 7.8.1
Date: 2017-07-25 22:27:09
Message-ID: CAKFQuwae5k6K5jNkn1e-q1XAVR+msaNqdtaizzdYS6+kNXEOuw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Monday, July 24, 2017, <ruth(at)dannerdata(dot)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.

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message holger 2017-07-27 13:24:55 does pg_upgrade on Windows use junction points or hard links?
Previous Message Daniel Westermann 2017-07-25 08:19:04 DEFERRABLE/NOT DEFERRABLE, what is a command?