Bug in CEIL?

From: "Mark Alliban" <MarkA(at)idnltd(dot)com>
To: <pgsql-sql(at)postgresql(dot)org>
Subject: Bug in CEIL?
Date: 2000-01-19 12:13:43
Message-ID: 006001bf6276$a207daf0$c80110ac@centauri
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Is the following normal behaviour? I would have expected a result of 0.

Welcome to the POSTGRESQL interactive sql monitor:
Please read the file COPYRIGHT for copyright terms of POSTGRESQL
[PostgreSQL 6.5.3 on i586-pc-sco3.2v5.0.4, compiled by gcc 2.7.2.3]

type \? for help on slash commands
type \q to quit
type \g or terminate with semicolon to execute query
You are currently connected to the database: template1

template1=> select ceil(0);
ceil
----
1
(1 row)

Browse pgsql-sql by date

  From Date Subject
Next Message Mark Alliban 2000-01-19 13:26:56 Bug in CEIL?
Previous Message Marc Tardif 2000-01-19 10:56:35 Re: [SQL] char(19) to varchar(32)