Re: When is int32 not an int32? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: When is int32 not an int32?
Date
Msg-id 2669306.1632695464@sss.pgh.pa.us
Whole thread Raw
In response to When is int32 not an int32?  ("David E. Wheeler" <david@justatheory.com>)
Responses Re: When is int32 not an int32?
List pgsql-hackers
"David E. Wheeler" <david@justatheory.com> writes:
> It claims that a test unexpected passes. That is, Test #31 is expected to fail, because it intentionally tests a
versionin which its parts overflow the int32[3] they’re stored in, with the expectation that one day we can refactor
thetype to handle larger version parts. 

> I can’t imagine there would be any circumstance under which int32 would somehow be larger than a signed 32-bit
integer,but perhaps there is? 

I'd bet more along the lines of "your overflow check is less portable than
you thought".

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Add create and update timestamp to all objects
Next
From: David Fetter
Date:
Subject: Re: When is int32 not an int32?