Mark kirkwood <markir(at)slingshot(dot)co(dot)nz> writes:
> I have not tried to see if it makes any difference in Postgresql...
Postgres converts count(*) to count(1) at the grammar stage (cf. gram.y,
about line 4817 in current sources). So if you think you detect any
performance difference, you're surely hallucinating...
regards, tom lane