Re: pgsql: Fix pg_size_bytes() to be more portable. - Mailing list pgsql-committers

From Dean Rasheed
Subject Re: pgsql: Fix pg_size_bytes() to be more portable.
Date
Msg-id CAEZATCWCd+KZAHfN8rARudSy_MNjguWb5pp4E_nApk3hP86m=Q@mail.gmail.com
Whole thread Raw
In response to Re: pgsql: Fix pg_size_bytes() to be more portable.  (Dean Rasheed <dean.a.rasheed@gmail.com>)
Responses Re: pgsql: Fix pg_size_bytes() to be more portable.
List pgsql-committers
On 20 February 2016 at 17:24, Dean Rasheed <dean.a.rasheed@gmail.com> wrote:
> It looks to me as though it doesn't need long long anyway, since the
> rotation it's doing can be done just as easily with ints, for example:

Oh, scratch that -- I was assuming int would be 32-bit, which it might not be.

Regards,
Dean


pgsql-committers by date:

Previous
From: Dean Rasheed
Date:
Subject: Re: pgsql: Fix pg_size_bytes() to be more portable.
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Fix pg_size_bytes() to be more portable.