Re: Has anyone seen this SPARC bug? [Fwd: Bug#165060: postgresql:

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Steve Dunham <dunham(at)cse(dot)msu(dot)edu>
Cc: pgsql-general(at)postgresql(dot)org, Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Subject: Re: Has anyone seen this SPARC bug? [Fwd: Bug#165060: postgresql:
Date: 2002-10-21 14:36:30
Message-ID: 17718.1035210990@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Steve Dunham <dunham(at)cse(dot)msu(dot)edu> writes:
>>> Oliver Elphick <olly(at)lfix(dot)co(dot)uk> writes:
> com.pany=# insert into foo values (1034784236789);
> ERROR: Floating point conversion to int8 is out of range

> The problem is that libcrypto.so has an unresolved symbol on Debian
> and this is making the "long long int is 64bit" test fail in configure
> fail, so it thinks long long is not 64bit.

Ah so.

> I don't know if this is the way postgresql is supposed to behave on
> platforms with no 64-bit integer; if not, there is a postgresql bug
> here.

No, that is the expected behavior: "int8" is effectively int4, and so
the above value in fact is out of range for "int8".

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message shey sewani 2002-10-21 14:49:26 :
Previous Message Shridhar Daithankar 2002-10-21 14:30:46 Re: