1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-03 08:24:27 +00:00

Add connection pool for db.

This commit is contained in:
Jiaqiang Xu
2016-08-20 14:58:51 +08:00
parent 6a5e0804b9
commit f52ffdfb23
19 changed files with 145 additions and 91 deletions

View File

@@ -17,6 +17,9 @@ pgsql_get_db_connection (DBConnPool *vpool, GError **error);
void
pgsql_db_connection_close (DBConnection *vconn);
gboolean
pgsql_db_connection_ping (DBConnection *vconn);
gboolean
pgsql_db_connection_execute (DBConnection *vconn, const char *sql, GError **error);