1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-28 18:48:04 +03:00

pg_rewind: Improve internationalization

This is mostly cosmetic since two of the three changes are debug
messages, and the third one is just a progress indicator.

Author: Michaël Paquier
This commit is contained in:
Alvaro Herrera
2016-03-28 14:33:00 -03:00
parent 37732a2555
commit cad3edef4f
3 changed files with 14 additions and 7 deletions

View File

@@ -531,7 +531,11 @@ print_filemap(void)
if (entry->action != FILE_ACTION_NONE ||
entry->pagemap.bitmapsize > 0)
{
printf("%s (%s)\n", entry->path, action_to_str(entry->action));
pg_log(PG_DEBUG,
/*------
translator: first %s is a file path, second is a keyword such as COPY */
"%s (%s)\n", entry->path,
action_to_str(entry->action));
if (entry->pagemap.bitmapsize > 0)
datapagemap_print(&entry->pagemap);