Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sWegO-00GV7y-Qg for pgsql-docs@arkaria.postgresql.org; Wed, 24 Jul 2024 16:17:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sWegM-006Fza-O6 for pgsql-docs@arkaria.postgresql.org; Wed, 24 Jul 2024 16:17:38 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sWegM-006FzS-Gb for pgsql-docs@lists.postgresql.org; Wed, 24 Jul 2024 16:17:38 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sWegG-001FpC-Ap for pgsql-docs@lists.postgresql.org; Wed, 24 Jul 2024 16:17:37 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 46OGHU7F1242016; Wed, 24 Jul 2024 12:17:30 -0400 From: Tom Lane To: "David G. Johnston" cc: Yaroslav Saburov , PostgreSQL Documentation Subject: Re: wrong field in example In-reply-to: References: <510672BE-4D9A-4934-B1EB-AFC1D9DA9D0D@gmail.com> Comments: In-reply-to "David G. Johnston" message dated "Wed, 24 Jul 2024 09:04:40 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1242014.1721837850.1@sss.pgh.pa.us> Date: Wed, 24 Jul 2024 12:17:30 -0400 Message-ID: <1242015.1721837850@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "David G. Johnston" writes: > I don't know that the existing wording is the most clear, but it is correct. Perhaps it'd be better to write "... we could not have written SELECT x, y FROM test1 GROUP BY x, because ..." ? The first half of the example uses "SELECT *", and this bit was meant to be consistent with that; but if the reader is confused about how "y" got into the discussion then writing it out explicitly should help. regards, tom lane