Re: [Bug] Heap Use After Free in Window Aggregate Execution

2024-12-09 Thread David Rowley
On Thu, 14 Nov 2024 at 04:31, 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 > WINDOW

Re: [Bug] Heap Use After Free in Window Aggregate Execution

2024-12-05 Thread David Rowley
On Fri, 6 Dec 2024 at 06:08, Alvaro Herrera wrote: > 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 for alerting me to this. I missed the original report. I wil

Re: [Bug] Heap Use After Free in Window Aggregate Execution

2024-12-05 Thread Alvaro Herrera
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 WIND