[PATCH] Add regression test for aggregate NULL behavior
[PATCH] Add regression test for aggregate NULL behavior
Hi,
This patch adds a new regression test covering the behavior of aggregate
functions when handling NULL values, including COUNT, COUNT(*) and AVG
on non-empty and empty relations.
The test was implemented using the pg_regress framework and follows the
existing regression testing conventions.
Feedback is welcome.
Best regards,
Kateriny
This patch adds a new regression test covering the behavior of aggregate
functions when handling NULL values, including COUNT, COUNT(*) and AVG
on non-empty and empty relations.
The test was implemented using the pg_regress framework and follows the
existing regression testing conventions.
Feedback is welcome.
Best regards,
Kateriny
Re: [PATCH] Add regression test for aggregate NULL behavior
От:
Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Дата:
Hi Kateriny, On Tue, Dec 16, 2025 at 6:21 PM kateriny bispo wrote: > > Hi, > > This patch adds a new regression test covering the behavior of aggregate > functions when handling NULL values, including COUNT, COUNT(*) and AVG > on non-empty and empty relations. > > The test was implemented using the pg_regress framework and follows the > existing regression testing conventions. > > Feedback is welcome. These tests should go to aggregates.sql. That file already has some tests for NULL input to aggregates. Do those cover the cases you want to cover? -- Best Wishes, Ashutosh Bapat