Re: pgsql: Fix pg_size_bytes() to be more portable.

From: Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Fix pg_size_bytes() to be more portable.
Date: 2016-02-20 17:29:40
Message-ID: CAEZATCWCd+KZAHfN8rARudSy_MNjguWb5pp4E_nApk3hP86m=Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On 20 February 2016 at 17:24, Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2016-02-20 17:41:19 Re: pgsql: Fix pg_size_bytes() to be more portable.
Previous Message Dean Rasheed 2016-02-20 17:24:41 Re: pgsql: Fix pg_size_bytes() to be more portable.