Changes for version 0.07 - 2017-05-08

  • ping DB if we take 30+ seconds old handle from the pool
  • handle more exceptions and turn them into promise's rejects
  • delete release_to state var so the same handle can be takes in different mode
  • don't accept handles for release that have an error and are not pingable
  • handle server closing connection
  • ->errobj method on dbh
  • avoid memory leak in transaction release code
  • rollback not finished transactions on destruction

Modules

async Pg with AnyEvent and Promises
DBI subclass

Provides

in lib/DBIx/Poggy/DBI.pm
in lib/DBIx/Poggy/DBI.pm
in lib/DBIx/Poggy/Error.pm