mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-23 15:16:29 +00:00
Fix event logging when cloning from another standby
We can only write to the primary, which we'll need to find seperately when cloning from a standby.
This commit is contained in:
@@ -42,6 +42,9 @@ int guc_set_typed(PGconn *conn, const char *parameter, const char *op,
|
||||
const char *value, const char *datatype);
|
||||
|
||||
|
||||
PGconn *get_primary_connection(PGconn *standby_conn, char *cluster,
|
||||
int *primary_node_id_ptr,
|
||||
char *primary_conninfo_out);
|
||||
PGconn *get_upstream_connection(PGconn *standby_conn, char *cluster,
|
||||
int node_id,
|
||||
int *upstream_node_id_ptr,
|
||||
|
||||
Reference in New Issue
Block a user