Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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)

pgsql-sql by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group