diff options
author | Fujii Masao | 2025-04-18 09:35:40 +0000 |
---|---|---|
committer | Fujii Masao | 2025-04-18 09:35:40 +0000 |
commit | 3aad76a0a970faf22ea38dd61b5668d480b5a92f (patch) | |
tree | 141a02316d1fc9a72bffbb99a8f6c9215e5ec072 /src/backend/executor/nodeModifyTable.c | |
parent | 05883bd6e556bb4d86c7ece4c37080d00cdb0d34 (diff) |
Make pg_upgrade log message with control file path translatable.
Commit 173c97812ff replaced the hardcoded "global/pg_control" in pg_upgrade
log message with a string literal concatenation of XLOG_CONTROL_FILE macro.
However, this change made the message untranslatable.
This commit fixes the issue by using %s with XLOG_CONTROL_FILE instead of
that literal concatenation, allowing the message to be translated properly.
It also wraps the file path in double quotes for consistency with similar
log messages.
Author: Kyotaro Horiguchi <[email protected]>
Reviewed-by: Masao Fujii <[email protected]>
Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions