pgsql: Fix pg_size_bytes() to be more portable.

From: Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix pg_size_bytes() to be more portable.
Date: 2016-02-20 11:11:43
Message-ID: E1aX5Rv-00022d-Gr@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix pg_size_bytes() to be more portable.

Commit 53874c5228fe16589a4d01b3e1fab3678e0fd8e3 broke various 32-bit
buildfarm machines because it incorrectly used an 'L' suffix for what
needed to be a 64-bit literal. Thanks to Michael Paquier for helping
to diagnose this.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/ad7cc1c554980145b226a066afe56d9c777ce7ae

Modified Files
--------------
src/backend/utils/adt/dbsize.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Pavel Stehule 2016-02-20 14:04:38 Re: pgsql: Add pg_size_bytes() to parse human-readable size strings.
Previous Message Dean Rasheed 2016-02-20 10:48:04 Re: pgsql: Add pg_size_bytes() to parse human-readable size strings.