Re: pgsql: Fix portability issue in pg_audit.

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Fix portability issue in pg_audit.
Date: 2015-05-14 20:10:25
Message-ID: 20150514201025.GY2523@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2015-05-14 20:15:09 Re: pgsql: Fix portability issue in pg_audit.
Previous Message Stephen Frost 2015-05-14 19:41:43 pgsql: Make repeated 'make installcheck' runs work