Re: Comparing Numeric and Double Precision (float8)..

From: Terry Yapt <pgsql(at)technovell(dot)com>
To: Bruno Wolff III <bruno(at)wolff(dot)to>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Comparing Numeric and Double Precision (float8)..
Date: 2002-11-04 14:35:28
Message-ID: 3DC685B0.D92E88E3@technovell.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Great....

I don't know if my customers can wait until 7.3 official release, but
I'll try to distract them a bit... :-\

Thanks a lot Bruno...

Bruno Wolff III wrote:
>
> On Mon, Nov 04, 2002 at 09:11:30 +0100,
> Terry Yapt <pgsql(at)technovell(dot)com> wrote:
> >
> > When I compare a numeric(x,0) field with a float8 field I have an error
> > on PostgreSQL what I didn't have with Oracle. I mean:
> >
> > CREATE test (one numeric(2,0));
> >
> > SELECT * FROM test WHERE one = 1.00000;
>
> With 7.3b3 the above works after correcting the create statement.
> bruno=> create table test (one numeric(2,0));
> CREATE TABLE
> bruno=> SELECT * FROM test WHERE one = 1.00000;
> one
> -----
> (0 rows)

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Ben Kassel 2002-11-04 18:29:47 Problem with Auto Increment
Previous Message Bruno Wolff III 2002-11-04 13:45:15 Re: Comparing Numeric and Double Precision (float8)..