mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
Clarify code comment
This commit is contained in:
@@ -3616,8 +3616,12 @@ can_use_pg_rewind(PGconn *conn, const char *data_directory, PQExpBufferData *rea
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// provided connection should be for the normal repmgr user
|
/*
|
||||||
// upstream_node_record may be NULL or initialised to default values
|
* NOTE:
|
||||||
|
* - the provided connection should be for the normal repmgr user
|
||||||
|
* - if upstream_node_record is not NULL, its "repluser" entry, if
|
||||||
|
* set, will be used as the fallback replication user
|
||||||
|
*/
|
||||||
bool
|
bool
|
||||||
create_replication_slot(PGconn *conn, char *slot_name, t_node_info *upstream_node_record, PQExpBufferData *error_msg)
|
create_replication_slot(PGconn *conn, char *slot_name, t_node_info *upstream_node_record, PQExpBufferData *error_msg)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user