[PATCH 2/4] Quote file names in an exising WARNING message

Kyotaro Horiguchi <horikyota.ntt@gmail.com>

From: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
To:
Date: 2025-04-04T02:34:10Z
Lists: pgsql-hackers
Add a missing pair of quotes around a file name in an existing WARNING
message in fd.c.
---
 src/backend/storage/file/fd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/backend/storage/file/fd.c b/src/backend/storage/file/fd.c
index 0e8299dd556..7f74d3be258 100644
--- a/src/backend/storage/file/fd.c
+++ b/src/backend/storage/file/fd.c
@@ -3293,7 +3293,7 @@ CleanupTempFiles(bool isCommit, bool isProcExit)
 				else if (fdstate & FD_CLOSE_AT_EOXACT)
 				{
 					elog(WARNING,
-						 "temporary file %s not closed at end-of-transaction",
+						 "temporary file \"%s\" not closed at end-of-transaction",
 						 VfdCache[i].fileName);
 					FileClose(i);
 				}
-- 
2.43.5


----Next_Part(Fri_Apr__4_12_03_28_2025_546)--
Content-Type: Text/X-Patch; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="0003-Quote-file-names-in-existing-DEBUG2-messages.patch"