Re: #15183: wont fix follow up

2011-01-28 Thread Sergiy Kuzmenko
Actually, not that I think about this again, the rationale behind my original proposal was this: since nulls are included in the output anyway we may as well count them. This way there are no surprises about what's counted and what's not. And users who do not want to count nulls should apply query

Re: #15183: wont fix follow up

2011-01-28 Thread Sergiy Kuzmenko
Thanks for you input Russ. Yes, Count("*") does look cleaner but (based on a quick glance on the code) may require some serious rewiring. I'll give some more thought as to how this may be accomplished. Should I create a new ticket then or reopening the one I already put is fine? Cheers Sergiy On

Re: #15183: wont fix follow up

2011-01-28 Thread Russell Keith-Magee
On Fri, Jan 28, 2011 at 11:05 PM, Sergiy Kuzmenko wrote: > A couple of points regarding this: > http://code.djangoproject.com/ticket/15183#comment:1. > > If nulls should not be counted then then they should be excluded from > results but they are not. > > You always get an entry for nulls (if they

#15183: wont fix follow up

2011-01-28 Thread Sergiy Kuzmenko
A couple of points regarding this: http://code.djangoproject.com/ticket/15183#comment:1. If nulls should not be counted then then they should be excluded from results but they are not. You always get an entry for nulls (if they are present) with zero count which if you need them is a problem and i