Re: Using the %m printf format more

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Cc: Peter Eisentraut <peter@eisentraut.org>, pgsql-hackers@postgresql.org
Date: 2024-04-04T02:35:58Z
Lists: pgsql-hackers
On Fri, Mar 22, 2024 at 01:58:24PM +0000, Dagfinn Ilmari Mannsåker wrote:
> Here's an updated patch that adds such a comment.  I'll add it to the
> commitfest later today unless someone commits it before then.

I see no problem to do that now rather than later.  So, done to make
pg_regress able to use %m.
--
Michael

Commits

  1. pg_regress: Save errno in emit_tap_output_v() and switch to %m

  2. Use printf's %m format instead of strerror(errno) in more places

  3. Add --copy-file-range option to pg_upgrade.