On Wed, Jan 27, 2016 at 3:57 AM, Aleksander Alekseev
<a.alekseev@postgrespro.ru> wrote:
> I'm a bit concerned regarding assumption that sizeof int never exceeds 4
> bytes. While this could be true today for most C compilers, standard
> [1][2] doesn't guarantee that. Perhaps we should add something like:
>
> StaticAssertStmt(sizeof(int) <= sizeof(int32),
> "int size exceeds int32 size");
I suspect that if this ever failed to be true, resowner.c would not be
the only thing having problems.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company