Subject: pgsql: Fix error message in RemoveWalSummaryIfOlderThan()

From: Michael Paquier <[email-masked]>
Date: Mon, 02 Feb 2026 01:21:45 +0000

Fix error message in RemoveWalSummaryIfOlderThan()

A failing unlink() was reporting an incorrect error message, referring
to stat().

Author: Man Zeng <[email-masked]>
Reviewed-by: Junwang Zhao <[email-masked]>
Discussion: https://postgr.es/m/[email-masked]
Backpath-through: 17

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/ab61f00874e5e27ec04a787505f45d797421b475

Modified Files
--------------
src/backend/backup/walsummary.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)