Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 2FE02B5DC2C for ; Fri, 15 Jul 2011 11:51:16 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 81721-04 for ; Fri, 15 Jul 2011 14:51:09 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 80063B5DC2B for ; Fri, 15 Jul 2011 11:51:09 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p6FEp1K0029877; Fri, 15 Jul 2011 10:51:02 -0400 (EDT) To: Gavin Flower cc: pgsql-docs@postgresql.org Subject: Re: pg 9.1beta3 typo in 7.2.3 In-reply-to: <4E1FFD3B.5090708@archidevsys.co.nz> References: <4E1FFD3B.5090708@archidevsys.co.nz> Comments: In-reply-to Gavin Flower message dated "Fri, 15 Jul 2011 20:41:31 +1200" Date: Fri, 15 Jul 2011 10:51:01 -0400 Message-ID: <29876.1310741461@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.899 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=0.001 X-Spam-Level: X-Archive-Number: 201107/14 X-Sequence-Number: 6881 Gavin Flower writes: > I think that there is a typo in the paragraph: 'x' used instead of 'y' > in 'GROUP BY'. You're mistaken. However, possibly the example is a bit confusing, because the point is that "SELECT *" includes y, which can't be validly referenced. Maybe we should spell out "x, y" instead of writing "*". regards, tom lane