1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-06 01:40:11 +00:00

Postgresql port setting

This commit is contained in:
cuihaikuo
2017-01-16 15:56:51 +08:00
parent 5f831a8579
commit bcd7ad8f0b
7 changed files with 23 additions and 4 deletions

View File

@@ -95,6 +95,7 @@ db_conn_pool_new_mysql (const char *host,
DBConnPool *
db_conn_pool_new_pgsql (const char *host,
unsigned int port,
const char *user,
const char *password,
const char *db_name,
@@ -124,7 +125,7 @@ db_conn_pool_new_pgsql (const char *host,
DBConnPool *pool;
pool = pgsql_db_conn_pool_new (host, user, password, db_name, unix_socket);
pool = pgsql_db_conn_pool_new (host, port, user, password, db_name, unix_socket);
init_conn_pool_common (pool, max_connections);
return pool;