Re: issues with eager aggregation

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Richard Guo <guofenglinux(at)gmail(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: issues with eager aggregation
Date: 2026-09-17 15:55:01
Message-ID: CA+TgmoYOXGDDjQV_k9VcPOy45i8tGvTpDvofuhGOLZ0bajZu-A@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Sep 17, 2026 at 10:58 AM Richard Guo <guofenglinux(at)gmail(dot)com> wrote:
> As for the division-by-zero case, I agree it's user-visible, but I
> think eager aggregation should follow the same rules as our existing
> transformations, which already evaluate expressions on rows that a
> join removes.

OK, good. So this isn't really doing something that is fundamentally
new, which is what I was fearing. Do you think this section should be
adjusted at all?

https://www.postgresql.org/docs/current/sql-expressions.html#SYNTAX-EXPRESS-EVAL

--
Robert Haas

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2026-09-17 15:55:02 Re: ON EMPTY clause for aggregate and window functions
Previous Message Vik Fearing 2026-09-17 15:47:17 Re: ON EMPTY clause for aggregate and window functions