mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-27 00:46:29 +00:00
repmgrd: log receipt of SIGINT/SIGTERM
This commit is contained in:
@@ -99,10 +99,12 @@ handle_sigint_physical(SIGNAL_ARGS)
|
||||
initPQExpBuffer(&event_details);
|
||||
|
||||
appendPQExpBuffer(&event_details,
|
||||
"%s signal received",
|
||||
_("%s signal received"),
|
||||
postgres_signal_arg == SIGTERM
|
||||
? "TERM" : "INT");
|
||||
|
||||
log_notice("%s", event_details.data);
|
||||
|
||||
if (local_node_info.type == PRIMARY)
|
||||
writeable_conn = local_conn;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user