DBIO-PostgreSQL-EV
view release on metacpan or search on metacpan
lib/DBIO/PostgreSQL/EV/Storage.pm view on Meta::CPAN
This override (rather than the inherited base C<connect_info>) is retained
because the EV transport (a) folds the DBI-form DSN into libpq conninfo inline
and (b) also tears down the dedicated LISTEN connection on reconnect.
=head2 _async_broker_conninfo
my $conninfo = $storage->_async_broker_conninfo($mode);
AccessBroker seam (see L<DBIO::Storage::Async/ACCESSBROKER CONSUMPTION>): return
one fresh, storage-native libpq conninfo hash for a single new pool connection,
built from the current broker credentials via the inherited normalisation.
=head2 pool
Returns the L<DBIO::PostgreSQL::EV::Pool> connection pool, created lazily on
first access. The pool is wired with C<< storage => $self >> so its
core-shared spawn path (L<DBIO::Storage::PoolBase/_spawn_connection>) replays
the owning sync storage's connect actions on each new connection via
L</_run_pool_connect_statement> (karr #68). Fed the per-spawn
C<conninfo_provider> when an AccessBroker is attached, otherwise the static
conninfo string.
( run in 2.330 seconds using v1.01-cache-2.11-cpan-007c89162af )