Re: pgsql: Fix portability issue in pg_audit.

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: pgsql: Fix portability issue in pg_audit.
Дата
Msg-id 20150514201025.GY2523@alvh.no-ip.org
обсуждение исходный текст
Ответ на pgsql: Fix portability issue in pg_audit.  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pgsql: Fix portability issue in pg_audit.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-committers
Tom Lane wrote:
> Fix portability issue in pg_audit.
>
> "%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.

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

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