Re: Clean up some elog messages and comments for do_pg_stop_backupand do_pg_start_backup

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Clean up some elog messages and comments for do_pg_stop_backupand do_pg_start_backup
Дата
Msg-id 20181221234257.GF1948@paquier.xyz
обсуждение исходный текст
Ответ на Re: Clean up some elog messages and comments for do_pg_stop_backupand do_pg_start_backup  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: Clean up some elog messages and comments for do_pg_stop_backupand do_pg_start_backup  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Список pgsql-hackers
On Fri, Dec 21, 2018 at 10:43:57AM -0300, Alvaro Herrera wrote:
>     errhint("Check that your archive_command is executing properly.  "
> +           "Backup can be canceled safely, "
>             "but the database backup will not be usable without all the WAL segments.")))
>
> I think repeating the same term in the third line is not great.  Some
> ideas:
>
> Backups can be canceled safely, but they will not be usable without all the WAL segments.
> The backup can be canceled safely, but it will not be usable without all the WAL segments.
> Database backups can be canceled safely, but the current backup will not be usable without all the WAL segments.
> Database backups can be canceled safely, but no backup will be usable without all the WAL segments.

Yes, I agree that repeating two times the work backup is not great.
What about the following then?  This is your second proposal except
that the sentence refers to the backup current running using "this",
which shows better the context in my opinion:
"This backup can be canceled safely, but it will not be usable without
all the WAL segments.
--
Michael

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: John Naylor
Дата:
Сообщение: Re: reducing the footprint of ScanKeyword (was Re: Large writable variables)
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: [PATCH] Improve tab completion for CREATE TABLE