Re: Using the %m printf format more - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Using the %m printf format more
Date
Msg-id Ze-uSj7lv78RVep2@paquier.xyz
Whole thread Raw
In response to Re: Using the %m printf format more  (Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>)
Responses Re: Using the %m printf format more
Re: Using the %m printf format more
List pgsql-hackers
On Mon, Mar 11, 2024 at 11:19:16AM +0000, Dagfinn Ilmari Mannsåker wrote:
> On closer look, fprintf() is actually the only errno-clobbering function
> it calls, I was just hedging my bets in that statement.

This makes the whole simpler, so I'd be OK with that.  I am wondering
if others have opinions to offer about that.

I've applied v2-0001 for now, as it is worth on its own and it shaves
a bit of code.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Greg Sabino Mullane
Date:
Subject: Re: Reports on obsolete Postgres versions
Next
From: Japin Li
Date:
Subject: Re: Improve readability by using designated initializers when possible