On June 3, 2015 9:42:21 PM GMT+02:00, Andreas Seltenreich <andreas.seltenreich@credativ.de> wrote:
>Piotr Stefaniak writes:
>>>> s/int/Size/ doesn't fix anything on 32-bit machines.
>>
>> Postgres requires twos-complement representation, so that the
>> assumption that signed integer types wrap around on overflow can be
>> safely made.
Uh, no. The C standard defines signed overflow as undefined, an compilers assume it doesn't happen. The optimize based
ony observation.
---
Please excuse brevity and formatting - I am writing this on my mobile phone.