Re: [PATCH] Add error handling to byteaout.

From: Andreas Seltenreich <andreas(dot)seltenreich(at)credativ(dot)de>
To: Piotr Stefaniak <postgres(at)piotr-stefaniak(dot)me>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCH] Add error handling to byteaout.
Date: 2015-06-03 19:42:21
Message-ID: 87vbf4r336.fsf@ex.ansel.ydns.eu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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!

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2015-06-03 19:47:33 Re: [PATCH] Add error handling to byteaout.
Previous Message Andreas Seltenreich 2015-06-03 19:41:51 Re: [PATCH] Add error handling to byteaout.