Releases: Outdooractive/PostgresConnectionPool
Releases · Outdooractive/PostgresConnectionPool
v0.7.0
Adds a batchId
to connections/queries.
v0.6.1
- The pool will now shutdown itself on unrecoverable connection errors
- Added
PostgresConnectionPool.closeIdleConnections()
- Added
PoolInfo.description
- Added some tests
v0.5.4
- Nicer error for query timeouts
- Remove the default query timeout since this might not be what's expected
- Cleaning up the logic for how we dish out connections - there where cases where connections could get stuck
v0.5.1
Also forward the sql extension from PostgresKit.
try await pool.connection({ connection in
try await connection.sql()
.delete(from: "incoming")
.where("logtime", .lessThan, Date(timeIntervalSinceNow: -seconds))
.run()
})
v0.5.0
Added PostgresConnectionPool.poolInfo().
Information about the pool and its open connections.
v0.4.0
Added PoolConfiguration.maxIdleConnections.
This controls how many connections can be idle (over a 60 seconds period).