Re: pgsql: Fix portability issue in pg_audit.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Fix portability issue in pg_audit.
Date: 2015-05-14 20:15:09
Message-ID: 9995.1431634509@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Alvaro Herrera <alvherre(at)2ndquadrant(dot)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

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2015-05-14 20:17:59 Re: pgsql: Make repeated 'make installcheck' runs work
Previous Message Alvaro Herrera 2015-05-14 20:10:25 Re: pgsql: Fix portability issue in pg_audit.