Re: pgsql: Fix portability issue in pg_audit.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Fix portability issue in pg_audit.
Дата
Msg-id 9995.1431634509@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgsql: Fix portability issue in pg_audit.  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-committers
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> Tom Lane wrote:
>> "%ld" is not a portable way to print int64's.  This may explain the
>> buildfarm crashes we're seeing --- it seems to make dromedary happy,
>> at least.

> FWIW you could use %zd for translatability, assuming we ever get
> pg_audit translatable.

Really?  z means size_t.

            regards, tom lane


В списке pgsql-committers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: pgsql: Fix portability issue in pg_audit.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Make repeated 'make installcheck' runs work