> Attached is a patch to accept the smallest value of int8.
This has been proposed before. The problem with it is that it's
not portable: the C standard does not specify the direction of rounding
of integer division when the dividend is negative. So the test
inside the loop that tries to detect overflow would be likely to fail
on some machines.
If you can see a way around that, we're all ears ...
regards, tom lane
In response to
pgsql-hackers by date
|Next:||From: Dave Cramer||Date: 2001-11-21 15:21:29|
|Previous:||From: Tatsuo Ishii||Date: 2001-11-21 15:05:42|
|Subject: Re: Regression tests need updating...|
pgsql-patches by date
|Next:||From: Tom Lane||Date: 2001-11-21 15:12:02|
|Subject: Re: [PATCHES] Version checking when loading psql |
|Previous:||From: Patrick Welche||Date: 2001-11-21 12:25:55|
|Subject: Re: [PATCHES] PQescapeBytea documentation patch|