Support "pg_promote()" function (PostgreSQL 12 and later)

This is an experimental feature.
This commit is contained in:
Ian Barwick
2018-10-26 11:02:45 +09:00
parent bc1956dee9
commit c336e384ab
3 changed files with 97 additions and 22 deletions

View File

@@ -424,7 +424,7 @@ ExtensionStatus get_repmgr_extension_status(PGconn *conn);
/* node management functions */
void checkpoint(PGconn *conn);
bool vacuum_table(PGconn *conn, const char *table);
bool promote_standby(PGconn *conn, bool wait, int wait_seconds);
/* node record functions */
t_server_type parse_node_type(const char *type);