pgsql: Further fixing to make pg_size_bytes() portable.

Поиск
Список
Период
Сортировка
От Dean Rasheed
Тема pgsql: Further fixing to make pg_size_bytes() portable.
Дата
Msg-id E1aX9oq-0006Tk-CP@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Fix pg_size_bytes() to be more portable.
Следующее
От: Joe Conway
Дата:
Сообщение: Re: pgsql: Add pg_size_bytes() to parse human-readable size strings.