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

### Describe the issue When fetching a date value from a database table and then using that same value to find the record containing that value the query fails to...

bug

Does it make sense to add support for transactions in similar manner to this ```swift extension PostgresClient { func withTransaction(logger: Logger, _ process: (PostgresConnection) async throws -> Value) async throws...

enhancement
good first issue

### Describe the issue When running the same fairly complex set of queries (using the same client ) performance in each subsequence execution slows down - e.g first time 5.2...

bug

I can't seem to get an UPDATE statement to work, well the query seems to work and doesn't throw an exception but the database is not being updated. I can't...

enhancement

I've been [investigating a big run time regression](https://github.com/SwiftPackageIndex/SwiftPackageIndex-Server/issues/3360) in our test suite after switching the Postgres version in our docker container from 13 to 16, which I've subsequently narrowed down...

The documentation doesn't appear to provide any examples of how to execute a prepared statement. The only reference I was able to find was a reference to use a struct...

enhancement

### Describe the issue loading data type as `jsonb`, an extra unicode will be added: \u0001 (show in json result) or \u{01} (show in Xcode) ### Vapor version 1.26.2 ###...

bug
good first issue

Small updates to convert this error type to using computed properties instead of static properties, following the pattern at https://github.com/apple/swift-nio/pull/3229

### Describe the issue The new connection manager that PostgresClient uses has performance issues with lock contention ### Vapor version Not using ### Operating system and version MacOS 15.3.2 (24D81)...

bug
ConnectionPool

If we need a connection and can't establish a connection, while we also don't have any connection that is alive, we should start a counter after which we fail all...

ConnectionPool