squeal-postgresql v0.5.2.0 Release Notes

Release Date: 2020-01-06 // over 4 years ago
  • ๐Ÿ›  Bugfix.

    ๐ŸŒ Previously connection pools were handled by defining a PoolPQ Monad with a MonadPQ instance. Turns out this was sort of dumb. What it did was run each query by taking a connection from the pool, running the query, and then returning the connection to the pool. This is not what is usually expected in a real use case. In a real use case, like a web service, you probably want to use a single connection to serve an endpoint when it's called.