pg_createsubscriber: Fix error complaining about the wrong thing

Álvaro Herrera <alvherre@kurilemu.de>

Commit: 59aeb693f67fc15dfa58e2fdada2a70ce1004660
Author: Álvaro Herrera <alvherre@kurilemu.de>
Date: 2025-10-31T16:43:15Z
Releases: 18.1
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

Files

PathChange+/−
src/bin/pg_basebackup/pg_createsubscriber.c modified +2 −2