pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: Yaroslav Saburov <y.saburov@gmail.com>
Cc: PostgreSQL Documentation <pgsql-docs@lists.postgresql.org>
Subject: Re: wrong field in example
Date: Wed, 24 Jul 2024 12:17:30 -0400
Message-ID: <1242015.1721837850@sss.pgh.pa.us> (raw)
In-Reply-To: <CAKFQuwb=tMmBMFY=3VyC2sYMEd=wFYa3YF+Riq7r-Pa6Hrppog@mail.gmail.com>
References: <CAKFQuwaWwaxSsMc8m0V6zvYgAS6dbyHje6OG5L=SdLj9NzQ3CA@mail.gmail.com>
	<510672BE-4D9A-4934-B1EB-AFC1D9DA9D0D@gmail.com>
	<CAKFQuwb=tMmBMFY=3VyC2sYMEd=wFYa3YF+Riq7r-Pa6Hrppog@mail.gmail.com>

"David G. Johnston" <david.g.johnston@gmail.com> 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





view thread (7+ messages)  latest in thread

Message-ID: <1242015.1721837850@sss.pgh.pa.us>
Permalink:  ../1242015.1721837850@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1242015.1721837850@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, david.g.johnston@gmail.com, y.saburov@gmail.com, pgsql-docs@lists.postgresql.org
  Subject: Re: wrong field in example
  In-Reply-To: <1242015.1721837850@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox