Add BDR-related database functions

This commit is contained in:
Ian Barwick
2017-07-10 21:52:39 +09:00
parent 941ed343f8
commit dddea9814b
2 changed files with 144 additions and 0 deletions

View File

@@ -258,5 +258,12 @@ void reset_voting_status(PGconn *conn);
XLogRecPtr get_last_wal_receive_location(PGconn *conn);
/* BDR functions */
bool is_bdr_db(PGconn *conn);
bool is_bdr_repmgr(PGconn *conn);
bool is_table_in_bdr_replication_set(PGconn *conn, char *tablename, char *set);
bool add_table_to_bdr_replication_set(PGconn *conn, char *tablename, char *set);
#endif /* dbutils.h */