From: Peter Eisentraut <peter_e@gmx.net>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@postgresql.org
Subject: Re: pgsql: XLogReader general code cleanup
Date: Sat, 02 Apr 2016 12:12:02 -0400
Message-ID: <56FFEF52.5010908@gmx.net> (raw)
In-Reply-To: <E1alO77-0007LU-I8@gemulon.postgresql.org>
References: <E1alO77-0007LU-I8@gemulon.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
On 03/30/2016 05:57 PM, Alvaro Herrera wrote:
> XLogReader general code cleanup
This is causing compiler warnings on 32-bit environments(?):
xlogreader.c: In function ‘XLogReadRecord’:
xlogreader.c:334:7: error: format ‘%lu’ expects argument of type ‘long
unsigned int’, but argument 5 has type ‘unsigned int’ [-Werror=format=]
"invalid record length at %X/%X: wanted %lu, got %u",
^
xlogreader.c: In function ‘ValidXLogRecordHeader’:
xlogreader.c:633:7: error: format ‘%lu’ expects argument of type ‘long
unsigned int’, but argument 5 has type ‘unsigned int’ [-Werror=format=]
"invalid record length at %X/%X: wanted %lu, got %u",
^
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: peter_e@gmx.net, alvherre@alvh.no-ip.org
Subject: Re: pgsql: XLogReader general code cleanup
In-Reply-To: <56FFEF52.5010908@gmx.net>
References: <E1alO77-0007LU-I8@gemulon.postgresql.org> <56FFEF52.5010908@gmx.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox