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
aggregate_null_behavior.patch
Description: Binary data
