[PATCH] Add regression test for aggregate NULL behavior

From: kateriny bispo <katerinybispo06(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: [PATCH] Add regression test for aggregate NULL behavior
Date: 2025-12-15 16:44:23
Message-ID: CAKnfrPkOy=Fv38jmX005azwZDydtpHmRV4PwWAy4aDdgyfiQJA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
aggregate_null_behavior.patch application/octet-stream 1.7 KB

Browse pgsql-hackers by date

  From Date Subject
Next Message Bertrand Drouvot 2025-12-15 16:48:10 Re: Adding locks statistics
Previous Message Jacob Champion 2025-12-15 16:37:43 Re: pg_plan_advice