diff options
author | Adam Chlipala <adam@chlipala.net> | 2015-10-17 10:49:25 -0400 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2015-10-17 10:49:25 -0400 |
commit | 2d198c091036767fdad1c3cd79f1bba4664682ea (patch) | |
tree | 864c452ff007b190575e7561bf94f389e833b1f7 /include | |
parent | d8dc62e905f11344720996fa8f38ead7dd6158e8 (diff) |
Start of support for surviving database-server restarts, for Postgres
Diffstat (limited to 'include')
-rw-r--r-- | include/urweb/urweb_cpp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/urweb/urweb_cpp.h b/include/urweb/urweb_cpp.h index 39679dd5..b1d2048e 100644 --- a/include/urweb/urweb_cpp.h +++ b/include/urweb/urweb_cpp.h @@ -40,6 +40,7 @@ uw_loggers* uw_get_loggers(struct uw_context *ctx); uw_loggers* uw_get_loggers(struct uw_context *ctx); failure_kind uw_begin(struct uw_context *, char *path); void uw_ensure_transaction(struct uw_context *); +int uw_try_reconnecting_if_at_most_one(struct uw_context *); failure_kind uw_begin_onError(struct uw_context *, char *msg); void uw_login(struct uw_context *); int uw_commit(struct uw_context *); |