pgbackrest.git / summary / log / commit / refs

commit    fdbeb8e7d64754d35dd30e4f871834756c5d77ca
Author:   Reid Thompson <jreidthompson@nc.rr.com>
Commit:   David Steele <david@pgmasters.net>
Date:     Thu Jan 06 19:22:56 2022 +0000

    Fix typo in error message.


src/db/db.c | 2 +- test/src/module/db/dbTest.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/db/db.c b/src/db/db.c index c4a06c968..84e91d89f 100644 --- a/src/db/db.c +++ b/src/db/db.c @@ -739,7 +739,7 @@ dbPing(Db *const this, const bool force) { THROW( DbMismatchError, - "standby is no longer is recovery\n" + "standby is no longer in recovery\n" "HINT: was the standby promoted during the backup?"); } // Else if a primary then something has gone seriously wrong diff --git a/test/src/module/db/dbTest.c b/test/src/module/db/dbTest.c index 80d881279..9c3edd11b 100644 --- a/test/src/module/db/dbTest.c +++ b/test/src/module/db/dbTest.c @@ -509,7 +509,7 @@ testRun(void) TEST_ERROR( dbPing(db.standby, false), DbMismatchError, - "standby is no longer is recovery\n" + "standby is no longer in recovery\n" "HINT: was the standby promoted during the backup?"); TEST_RESULT_VOID(dbPing(db.standby, false), "ping standby cluster"); TEST_RESULT_VOID(dbPing(db.standby, false), "ping standby cluster (noop)"); [parent: a82f0179cdd5]