Re: Have the planner convert COUNT(1) / COUNT(not_null_col) to COUNT(*) - Mailing list pgsql-hackers

From David Rowley
Subject Re: Have the planner convert COUNT(1) / COUNT(not_null_col) to COUNT(*)
Date
Msg-id CAApHDvoHtZBK8maSxKogE5uZJXz8A40Qt4QkCqCAhx57mL5z9Q@mail.gmail.com
Whole thread Raw
In response to Re: Have the planner convert COUNT(1) / COUNT(not_null_col) to COUNT(*)  (David Rowley <dgrowleyml@gmail.com>)
List pgsql-hackers
On Wed, 26 Nov 2025 at 12:37, David Rowley <dgrowleyml@gmail.com> wrote:
> I'm not seeing any reason now not to go ahead with this now. Does
> anyone else want to take a look at it before I start wielding the
> sword of commitment on it?

And pushed.  Many thanks to Corey and Matheus for having a look at this.

David



pgsql-hackers by date:

Previous
From: Dean Rasheed
Date:
Subject: Re: Second RewriteQuery complains about first RewriteQuery in edge case
Next
From: Tom Lane
Date:
Subject: Re: Second RewriteQuery complains about first RewriteQuery in edge case