mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
Add function create_event_record()
For logging an event to the event table without generating an external event notification. Rename existing create_event_record*() functions to create_event_notification*() as this describes their function better.
This commit is contained in:
@@ -206,7 +206,7 @@ do_primary_register(void)
|
||||
}
|
||||
|
||||
/* Log the event */
|
||||
create_event_record(conn,
|
||||
create_event_notification(conn,
|
||||
&config_file_options,
|
||||
config_file_options.node_id,
|
||||
"primary_register",
|
||||
@@ -494,7 +494,7 @@ do_primary_unregister(void)
|
||||
config_file_options.node_id);
|
||||
}
|
||||
|
||||
create_event_record(primary_conn,
|
||||
create_event_notification(primary_conn,
|
||||
&config_file_options,
|
||||
config_file_options.node_id,
|
||||
"primary_unregister",
|
||||
|
||||
Reference in New Issue
Block a user