Re: Window Function "Run Conditions"

From: Andres Freund <andres(at)anarazel(dot)de>
To: David Rowley <dgrowleyml(at)gmail(dot)com>
Cc: Andy Fan <zhihui(dot)fan1213(at)gmail(dot)com>, Zhihong Yu <zyu(at)yugabyte(dot)com>, PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Window Function "Run Conditions"
Date: 2022-04-05 03:09:57
Message-ID: 20220405030957.efothq3buc3d3zl5@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2022-04-05 12:04:18 +1200, David Rowley wrote:
> > This is afaics slightly cheaper than referencing a variable in a slot.
>
> I guess you must mean cheaper because it means there will be no
> EEOP_*_FETCHSOME step? Otherwise it seems a fairly similar amount of
> work.

That, and slightly fewer indirections for accessing values IIRC.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2022-04-05 03:18:02 Re: Removing more vacuumlazy.c special cases, relfrozenxid optimizations
Previous Message Peter Smith 2022-04-05 03:09:01 Re: Handle infinite recursion in logical replication setup