Re: pgsql: Fix portability issue in pg_audit. - Mailing list pgsql-committers

From Alvaro Herrera
Subject Re: pgsql: Fix portability issue in pg_audit.
Date
Msg-id 20150514201025.GY2523@alvh.no-ip.org
Whole thread Raw
In response to pgsql: Fix portability issue in pg_audit.  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pgsql: Fix portability issue in pg_audit.
List 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 by date:

Previous
From: Stephen Frost
Date:
Subject: pgsql: Make repeated 'make installcheck' runs work
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Fix portability issue in pg_audit.