pgsql: pg_createsubscriber: Fix error complaining about the wrong thing

Поиск
Список
Период
Сортировка
От Álvaro Herrera
Тема pgsql: pg_createsubscriber: Fix error complaining about the wrong thing
Дата
Msg-id E1vEsbx-004QDQ-0u@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
pg_createsubscriber: Fix error complaining about the wrong thing

The code updates the system identifier, then runs pg_walreset; if the
latter fails, it complains about the former, which makes no sense.
Change the error message to complain about the right thing.

Noticed while reviewing a patch touching nearby code.

Author: Álvaro Herrera <alvherre@kurilemu.de>
Backpatch-through: 17

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/59aeb693f67fc15dfa58e2fdada2a70ce1004660

Modified Files
--------------
src/bin/pg_basebackup/pg_createsubscriber.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)


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