Browse files

Fix a wrong message.

It was saying the problem is the version of the PostgreSQL server while
it actually is because the MASTER REGISTER command was running on a
standby node
  • Loading branch information...
1 parent 0240cb2 commit 55c7ea4b5e440a7f58e1b34e2c8b829c9e265259 @Jaime2ndQuadrant Jaime2ndQuadrant committed Nov 10, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 repmgr.c
@@ -433,7 +433,7 @@ do_master_register(void)
log_info(_("%s connected to master, checking its state\n"), progname);
if (is_standby(conn))
- log_err(_("%s needs master to be PostgreSQL 9.0 or better\n"), progname);
+ log_err(_("Trying to register as a master a standby node\n"), progname);

0 comments on commit 55c7ea4

Please sign in to comment.