postgres-nio icon indicating copy to clipboard operation
postgres-nio copied to clipboard

🐘 Non-blocking, event-driven Swift client for PostgreSQL.

Results 89 postgres-nio issues
Sort by recently updated
recently updated
newest added

This is a quick and dirty draft of the removals that we want to do for v2. Happy to split this into smaller prs (see commits).

semver-major
breaking

We implemented this in our project so we could use the Postgres [inet](https://www.postgresql.org/docs/current/datatype-net-types.html#DATATYPE-INET) type with PostgresNIO. Postgres's inet and SwiftNIO's `SocketAddress` aren't a perfect match but they're fairly close. Let...

### Description A general connection pool works by first narrowing down the available connections to a set of 'acceptable' connections. That is usually done by matching a few required attributes...

enhancement
ConnectionPool

Currently we require users to pass a Logger at every query call. We should change that behavior and provide a default NoOpLogger/ nil Logger instead.

enhancement
breaking

We should support that connections can be marked as going away, if the server has notified us, that further requests on a connection will not be accepted. Example http/2 GOAWAY...

enhancement
ConnectionPool

To support password rotation, the ConnectionPool should support rotating auth credentials while running. New connections should be spun up asap and old connections should be closed as once they are...

enhancement
ConnectionPool

Currently, the only numerical option for an exact representation of the Postgres NUMERIC type is to use `Foundation.Decimal`. However, `Foundation.Decimal` is not fully implemented, and in particular is missing some...

### Describe the bug When successfully closing a connection, `PostgresNIO` includes a misleading "error" in its log statement. ### To Reproduce Steps to reproduce the behavior: 1. Set a breakpoint...

bug