Re: wrong field in example

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: Yaroslav Saburov <y(dot)saburov(at)gmail(dot)com>, PostgreSQL Documentation <pgsql-docs(at)lists(dot)postgresql(dot)org>
Subject: Re: wrong field in example
Date: 2024-07-24 16:17:30
Message-ID: 1242015.1721837850@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

"David G. Johnston" <david(dot)g(dot)johnston(at)gmail(dot)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

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Yaroslav Saburov 2024-07-24 16:31:55 Re: wrong field in example
Previous Message David G. Johnston 2024-07-24 16:04:40 Re: wrong field in example