Re: pgsql: Rework error messages around file handling - Mailing list pgsql-committers

From Michael Paquier
Subject Re: pgsql: Rework error messages around file handling
Date
Msg-id 20180717235319.GB2998@paquier.xyz
Whole thread Raw
In response to Re: pgsql: Rework error messages around file handling  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pgsql: Rework error messages around file handling
List pgsql-committers
On Tue, Jul 17, 2018 at 07:23:04PM -0400, Tom Lane wrote:
> Michael Paquier <michael@paquier.xyz> writes:
> > Rework error messages around file handling
>
> longfin thinks you missed at least one cast ...

Hm, I checked that.  Just casting to (Size) should do it.  I cannot get
a warning with neither clang nor gcc on Debian SID even with -Wformat,
and no OSX at hand.

So the attached would fix the problem?
--
Michael

Attachment

pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Rework error messages around file handling
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Rework error messages around file handling