postgresql/src/bin
Michael Paquier 2c8118ee5d Use printf's %m format instead of strerror(errno) in more places
Most callers of strerror() are removed from the backend code.  The
remaining callers require special handling with a saved errno from a
previous system call.  The frontend code still needs strerror() where
error states need to be handled outside of fprintf.

Note that pg_regress is not changed to use %m as the TAP output may
clobber errno, since those functions call fprintf() and friends before
evaluating the format string.

Support for %m in src/port/snprintf.c has been added in d6c55de1f9,
hence all the stable branches currently supported include it.

Author: Dagfinn Ilmari Mannsåker
Discussion: https://postgr.es/m/87sf13jhuw.fsf@wibble.ilmari.org
2024-03-12 10:02:54 +09:00
..
initdb Use printf's %m format instead of strerror(errno) in more places 2024-03-12 10:02:54 +09:00
pg_amcheck Escape output of pg_amcheck test 2024-01-13 20:32:18 +01:00
pg_archivecleanup Update copyright for 2024 2024-01-03 20:49:05 -05:00
pg_basebackup Remove AIX support 2024-02-28 15:17:23 +04:00
pg_checksums Skip .DS_Store files in server side utils 2024-02-13 13:47:12 +01:00
pg_combinebackup Fix incremental backup interaction with XLOG_DBASE_CREATE_FILE_COPY. 2024-03-04 13:33:28 -05:00
pg_config Update copyright for 2024 2024-01-03 20:49:05 -05:00
pg_controldata Update copyright for 2024 2024-01-03 20:49:05 -05:00
pg_ctl Use printf's %m format instead of strerror(errno) in more places 2024-03-12 10:02:54 +09:00
pg_dump Use printf's %m format instead of strerror(errno) in more places 2024-03-12 10:02:54 +09:00
pg_resetwal Update copyright for 2024 2024-01-03 20:49:05 -05:00
pg_rewind Introduce transaction_timeout 2024-02-15 23:56:12 +02:00
pg_test_fsync Update copyright for 2024 2024-01-03 20:49:05 -05:00
pg_test_timing Update copyright for 2024 2024-01-03 20:49:05 -05:00
pg_upgrade Use printf's %m format instead of strerror(errno) in more places 2024-03-12 10:02:54 +09:00
pg_verifybackup pg_verifybackup: Refactor parse_manifest_file. 2024-03-04 14:42:17 -05:00
pg_waldump Update copyright for 2024 2024-01-03 20:49:05 -05:00
pg_walsummary Use new overflow-safe integer comparison functions. 2024-02-16 14:05:36 -06:00
pgbench pgbench: Add \syncpipeline 2024-01-24 16:55:19 +09:00
pgevent Update copyright for 2024 2024-01-03 20:49:05 -05:00
psql Catalog changes preparing for builtin collation provider. 2024-03-09 14:48:18 -08:00
scripts reindexdb: Allow specifying objects to process in all databases. 2024-03-11 15:42:27 -05:00
Makefile Add new pg_walsummary tool. 2024-01-11 12:48:27 -05:00
meson.build Add new pg_walsummary tool. 2024-01-11 12:48:27 -05:00