Set synchronous_commit to off for current session

Forward-ported from 2.x; need to verify it makes sense.
This commit is contained in:
Ian Barwick
2015-02-27 11:40:57 +09:00
parent e2c2f97307
commit 63c416bb76
3 changed files with 38 additions and 0 deletions

View File

@@ -57,5 +57,6 @@ bool create_replication_slot(PGconn *conn, char *slot_name);
bool start_backup(PGconn *conn, char *first_wal_segment);
bool stop_backup(PGconn *conn, char *last_wal_segment);
bool set_config_bool(PGconn *conn, const char *config_param, bool state);
#endif