"standby clone": perform clone operations

This commit is contained in:
Ian Barwick
2017-05-02 09:58:17 +09:00
parent 8f74d1b946
commit a960ed9d49
6 changed files with 1308 additions and 9 deletions

View File

@@ -184,5 +184,9 @@ bool create_replication_slot(PGconn *conn, char *slot_name, int server_version_
int get_slot_record(PGconn *conn, char *slot_name, t_replication_slot *record);
/* backup functions */
bool start_backup(PGconn *conn, char *first_wal_segment, bool fast_checkpoint, int server_version_num);
bool stop_backup(PGconn *conn, char *last_wal_segment, int server_version_num);
#endif