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: 20011121.145028.102774854.sugita@sra.co.jp (view raw or flat)
Thread:
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);
    CREATE
    test=# insert into test_int8 values (-9223372036854775807);
    INSERT 4026531936 1
    test=# insert into test_int8 values (-9223372036854775808);
    ERROR:  int8 value out of range: "-9223372036854775808"
    test=#

Responses

pgsql-hackers by date

Next:From: Bruce MomjianDate: 2001-11-21 06:13:28
Subject: internals.ps
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-2014 The PostgreSQL Global Development Group