pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: David Rowley <dgrowleyml@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@lists.postgresql.org>
Cc: zlabs-cstore@zohocorp.com <zlabs-cstore@zohocorp.com>
Cc: Jayesh Dehankar <jayesh.dp@zohocorp.com>
Subject: Re: [Bug] Heap Use After Free in Window Aggregate Execution
Date: Thu, 5 Dec 2024 18:08:08 +0100
Message-ID: <202412051708.s36od6xck3jm@alvherre.pgsql> (raw)
In-Reply-To: <193261e2c4d.3dd3cd7c1842.871636075166132237@zohocorp.com>

Hello,

Adding David Rowley in CC.

On 2024-Nov-13, Jayesh Dehankar wrote:

> We have discovered a bug in PostgreSQL v16.3 related to a top-level
> window aggregate with a partition-by clause. The issue occurs when the
> run condition fails, causing the window aggregate status to change
> from WINDOWAGG_RUN to WINDOWAGG_PASSTHROUGH_STRICT mode. The bug is
> present in the latest STABLE branch.

David, what do you think about this?  The code in question was added by
your commits 9d9c02ccd1ae and a8583272218a, so I think you're the one
best prepared to handle this.

Thanks,

-- 
Álvaro Herrera               48°01'N 7°57'E  —  https://www.EnterpriseDB.com/





view thread (4+ messages)  latest in thread

Message-ID: <202412051708.s36od6xck3jm@alvherre.pgsql>
Permalink:  ../202412051708.s36od6xck3jm@alvherre.pgsql/
Also on:    postgresql.org/message-id/202412051708.s36od6xck3jm@alvherre.pgsql

 · 

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: alvherre@alvh.no-ip.org, dgrowleyml@gmail.com, pgsql-hackers@lists.postgresql.org, zlabs-cstore@zohocorp.com, jayesh.dp@zohocorp.com
  Subject: Re: [Bug] Heap Use After Free in Window Aggregate Execution
  In-Reply-To: <202412051708.s36od6xck3jm@alvherre.pgsql>

* 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