Class
PgsqlConnectionPool
Description
final class Pgsql.ConnectionPool : GObject.Object
{
/* No available fields */
}
A pool of PostgreSQL database connections.
PgsqlConnectionPool manages a pool of PgsqlConnection objects,
allowing efficient reuse of database connections. The pool maintains a
minimum number of connections (min_size) and can grow up to a maximum
number (max_size) as needed.
Connections are acquired using pgsql_connection_pool_acquire() and
must be released back to the pool using pgsql_connection_pool_release()
when finished.
Failed connections are automatically detected and removed from the pool, with new connections created as needed to maintain the minimum pool size.
Constructors
pgsql_connection_pool_new
Creates a new PgsqlConnectionPool asynchronously and attempts
to warm up the pool by establishing min_size connections.
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.