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

Rejection of the smallest int8

From: sugita(at)sra(dot)co(dot)jp
To: pgsql-patches(at)postgresql(dot)org
Subject: Rejection of the smallest int8
Date: 2001-11-21 05:50:28
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackerspgsql-patches
Attached is a patch to accept the smallest value of int8.

The smallest value -9223372036854775808 is rejected as follows:

    test=# create table test_int8 (val int8);
    test=# insert into test_int8 values (-9223372036854775807);
    INSERT 4026531936 1
    test=# insert into test_int8 values (-9223372036854775808);
    ERROR:  int8 value out of range: "-9223372036854775808"


pgsql-hackers by date

Next:From: Bruce MomjianDate: 2001-11-21 06:13:28
Previous:From: Bruce MomjianDate: 2001-11-21 05:41:49
Subject: Re: beta3

pgsql-patches by date

Next:From: Patrick WelcheDate: 2001-11-21 12:25:55
Subject: Re: [PATCHES] PQescapeBytea documentation patch
Previous:From: Bruce MomjianDate: 2001-11-21 05:45:59
Subject: Re: Chinese zh_CN NLS patches

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