Skip to content
This repository
Browse code

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...
commit 55c7ea4b5e440a7f58e1b34e2c8b829c9e265259 1 parent 0240cb2
Jaime2ndQuadrant authored November 10, 2011

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  repmgr.c
2  repmgr.c
@@ -433,7 +433,7 @@ do_master_register(void)
433 433
 	log_info(_("%s connected to master, checking its state\n"), progname);
434 434
 	if (is_standby(conn))
435 435
 	{
436  
-		log_err(_("%s needs master to be PostgreSQL 9.0 or better\n"), progname);
  436
+		log_err(_("Trying to register as a master a standby node\n"), progname);
437 437
 		PQfinish(conn);
438 438
 		exit(ERR_BAD_CONFIG);
439 439
 	}

0 notes on commit 55c7ea4

Please sign in to comment.
Something went wrong with that request. Please try again.