#include "awpgsql.h"
#include "llt.h"
Functions | |
| __attribute__ ((constructor)) | |
| void | aw_pgsql_connect (aw_pgsql_cinfo_t *cinfo, aw_pgsql_state_t *state, aw_logger_t *logger) |
| Get a db connection, from pool if exists or create a db connection. | |
| void | aw_pgsql_disconnect (aw_pgsql_cinfo_t *cinfo, aw_pgsql_state_t *state, aw_logger_t *logger, int32_t close) |
| Release the db connection back to the pool, if 'close' is non-zero close the connection. | |
| void | aw_pgsql_disconnect_all (aw_pgsql_cinfo_t *cinfo, aw_pgsql_state_t *state, aw_logger_t *logger) |
| Release the ALL db connections back to the pool with the same login. | |
| int32_t | aw_pgsql_initialized (void) |
| Non-zero if lib is initialize. | |
|
|
|
|
||||||||||||||||
|
Get a db connection, from pool if exists or create a db connection. aw_pgsql_connect
|
|
||||||||||||||||||||
|
Release the db connection back to the pool, if 'close' is non-zero close the connection. aw_pgsql_disconnect
|
|
||||||||||||||||
|
Release the ALL db connections back to the pool with the same login. aw_pgsql_disconnect_all
|
|
|
Non-zero if lib is initialize. aw_pgsql_initialized |