pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Vik Fearing <vik@postgresfriends.org>
To: Laurenz Albe <laurenz.albe@cybertec.at>
To: Dennis Brouwer <dennis.brouwer@kizitos.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: John Naylor <john.naylor@enterprisedb.com>
Cc: David Micallef <david.j.micallef@gmail.com>
Cc: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: group by true now errors with non-integer constant in GROUP BY
Date: Fri, 20 Oct 2023 08:20:27 +0200
Message-ID: <cf93e3c0-dcfe-4d8e-bd10-0c2d0caad3f8@postgresfriends.org> (raw)
In-Reply-To: <18ba0d29-0637-48c5-a11d-19f8672a8b0f@postgresfriends.org>
References: <CAJBCwCS7OuEUmGkrnu5Q8SmBP10njnEiX7vJiaxJURZXcCORyw@mail.gmail.com>
	<CAFBsxsE_zy1Y=u2ZM6xZHFY2Cwfr_Uii=-irsHtCxrh6GnfBNA@mail.gmail.com>
	<837886.1693252560@sss.pgh.pa.us>
	<CAF31W9qz7qXxp=LADZv3+Y1CtJio5cvbU2FcbRyB9nW+R45xQg@mail.gmail.com>
	<3af446dd6fbfdb6e08de95fc24e06081f78a6f15.camel@cybertec.at>
	<18ba0d29-0637-48c5-a11d-19f8672a8b0f@postgresfriends.org>

On 10/20/23 07:44, Vik Fearing wrote:
> I may have oversimplified this example, but as long as the value is 
> present in the SELECT, logic would dictate that we can group by it.

Oops, I have this backwards: the projection comes after the grouping.
-- 
Vik Fearing






view thread (20+ messages)  latest in thread

Message-ID: <cf93e3c0-dcfe-4d8e-bd10-0c2d0caad3f8@postgresfriends.org>
Permalink:  ../cf93e3c0-dcfe-4d8e-bd10-0c2d0caad3f8@postgresfriends.org/
Also on:    postgresql.org/message-id/cf93e3c0-dcfe-4d8e-bd10-0c2d0caad3f8@postgresfriends.org

 · 

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-bugs@postgresql.org
  Cc: vik@postgresfriends.org, laurenz.albe@cybertec.at, dennis.brouwer@kizitos.com, tgl@sss.pgh.pa.us, john.naylor@enterprisedb.com, david.j.micallef@gmail.com, peter.eisentraut@enterprisedb.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: group by true now errors with non-integer constant in GROUP BY
  In-Reply-To: <cf93e3c0-dcfe-4d8e-bd10-0c2d0caad3f8@postgresfriends.org>

* 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