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

From Tom Lane
Subject Re: pgsql: Fix portability issue in pg_audit.
Date
Msg-id 9995.1431634509@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql: Fix portability issue in pg_audit.  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List 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 by date:

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