Mercurial > urweb
diff include/urweb/urweb_cpp.h @ 2176:d2a98983f502
Start of support for surviving database-server restarts, for Postgres
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sat, 17 Oct 2015 10:49:25 -0400 |
parents | fd6d362666c0 |
children | 00cf8214c2e3 |
line wrap: on
line diff
--- a/include/urweb/urweb_cpp.h Thu Oct 15 07:52:37 2015 -0400 +++ b/include/urweb/urweb_cpp.h Sat Oct 17 10:49:25 2015 -0400 @@ -40,6 +40,7 @@ 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 *);