Asynchronous access to PostgreSQL databases with AnyEvent