pgsql: Further fixing to make pg_size_bytes() portable. - Mailing list pgsql-committers

From Dean Rasheed
Subject pgsql: Further fixing to make pg_size_bytes() portable.
Date
Msg-id E1aX9oq-0006Tk-CP@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Further fixing to make pg_size_bytes() portable.

Not all compilers support "long long" and the "LL" integer literal
suffix, so use a cast to int64 instead.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/740d71842b8e0e798c80f4f841227b6de81b5f43

Modified Files
--------------
src/backend/utils/adt/dbsize.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Fix pg_size_bytes() to be more portable.
Next
From: Joe Conway
Date:
Subject: Re: pgsql: Add pg_size_bytes() to parse human-readable size strings.