mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 08:36:30 +00:00
Improve error message
This commit is contained in:
5
repmgr.c
5
repmgr.c
@@ -583,9 +583,10 @@ do_cluster_show(void)
|
|||||||
|
|
||||||
if (PQresultStatus(res) != PGRES_TUPLES_OK)
|
if (PQresultStatus(res) != PGRES_TUPLES_OK)
|
||||||
{
|
{
|
||||||
// ZZZ
|
log_err(_("Unable to retrieve node information from the database\n%s\n"),
|
||||||
log_err(_("can't get nodes information, have you registered them?\n%s\n"),
|
|
||||||
PQerrorMessage(conn));
|
PQerrorMessage(conn));
|
||||||
|
log_notice(_("HINT: Please check that all nodes have been registered\n"));
|
||||||
|
|
||||||
PQclear(res);
|
PQclear(res);
|
||||||
PQfinish(conn);
|
PQfinish(conn);
|
||||||
exit(ERR_BAD_CONFIG);
|
exit(ERR_BAD_CONFIG);
|
||||||
|
|||||||
Reference in New Issue
Block a user