"Mark Alliban" <MarkA@idnltd.com> writes:
> template1=> select ceil(0);
> ceil
> ----
> 1
> (1 row)
Looks like a bug to me too. I've just been mucking in the NUMERIC
code, so will put this on my to-do list.
BTW, your mail would be easier for other folks to read if you turned
off all the MIME/HTML junk.
regards, tom lane