The Hermit Hacker <scrappy(at)hub(dot)org> writes:> explain to me what *this* would do:
> sum(case dict.word when '$t' then 1 else 0 end)
Looks to me like it generates the same result as
select count(*) where dict.word = '$t';
regards, tom lane