code_change/3 | |
get_connection/1 | Get a db connection, wait at most ?PGSQL_CALL_TIMEOUT seconds before giving up. |
get_connection/2 | Get a db connection, wait at most Timeout seconds before giving up. |
get_database/1 | Return the name of the database used for the pool. |
get_database_opt/2 | |
handle_call/3 | |
handle_cast/2 | |
handle_info/2 | |
init/1 | |
return_connection/2 | Return a db connection back to the connection pool. |
start_link/2 | |
start_link/3 | |
status/1 | Return the current status of the connection pool. |
stop/1 | Stop the pool, close all db connections. |
terminate/2 |
code_change(OldVsn, State, Extra) -> any()
get_connection(P) -> any()
Get a db connection, wait at most ?PGSQL_CALL_TIMEOUT seconds before giving up.
get_connection(P, Timeout) -> any()
Get a db connection, wait at most Timeout seconds before giving up.
get_database(P) -> any()
Return the name of the database used for the pool.
get_database_opt(Opt, P) -> any()
handle_call(Request, From, State) -> any()
handle_cast(Request, State) -> any()
handle_info(Info, State) -> any()
init(X1) -> any()
return_connection(P, C) -> any()
Return a db connection back to the connection pool.
start_link(Size, Opts) -> any()
start_link(Name, Size, Opts) -> any()
status(P) -> any()
Return the current status of the connection pool.
stop(P) -> any()
Stop the pool, close all db connections
terminate(Reason, State) -> any()
Generated by EDoc, Feb 25 2011, 21:14:41.