pgsql: Fix unlink() error report in KeepFileRestoredFromArchive()
Fix unlink() error report in KeepFileRestoredFromArchive()
KeepFileRestoredFromArchive() has been using an incorrect WAL segment
name in the error report for an unlink() failure.
Even without 1200dfd60c36, this was of consequence only on WIN32, where
we would miss to report a segment name suffixed by ".deleted%u".
Oversight in 60df192aea0e, for what looks like a copy-pasto to me.
Reported-by: Fujii Masao <masao.fujii@gmail.com>
Discussion: /messages/by-id/CAHGQGwHSbJnUmWCuF-QNUsGYF=iSSuzLRx1z_dLfYFwfbTu4Cw@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/feb15361b34a1bbbc586ee3dc0ad970f6434aad3
Modified Files
--------------
src/backend/access/transam/xlogarchive.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)