Re: [PATCH] Add error handling to byteaout. - Mailing list pgsql-hackers

From Andreas Seltenreich
Subject Re: [PATCH] Add error handling to byteaout.
Date
Msg-id 87vbf4r336.fsf@ex.ansel.ydns.eu
Whole thread Raw
In response to Re: [PATCH] Add error handling to byteaout.  (Piotr Stefaniak <postgres@piotr-stefaniak.me>)
Responses Re: [PATCH] Add error handling to byteaout.  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
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.

Thanks for the clarification!



pgsql-hackers by date:

Previous
From: Andreas Seltenreich
Date:
Subject: Re: [PATCH] Add error handling to byteaout.
Next
From: Andres Freund
Date:
Subject: Re: [PATCH] Add error handling to byteaout.