mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
repmgrd: log receipt of SIGINT/SIGTERM
This commit is contained in:
@@ -43,10 +43,12 @@ handle_sigint_bdr(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);
|
||||
|
||||
create_event_notification(local_conn,
|
||||
&config_file_options,
|
||||
config_file_options.node_id,
|
||||
|
||||
Reference in New Issue
Block a user