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 bug `PostgresNumeric` cannot decode large number (like `1234567890123`) and it causes runtime crash. ### To Reproduce 1. call this line ```swift PostgresNumeric(string: "1234567890123") ``` 2. crash! ###...

bug

### Describe the bug When I mess up my credentials and try to send a random gibberish as a password, the error I get in return is obscure and not...

bug

### Describe the bug When evaluating multiple insert statements in a deferred query, versions = 1.5.0 will fail with the message "cannot insert multiple commands into a prepared statement" ###...

enhancement

**Is your feature request related to a problem? Please describe.** For a variety of complicated tasks, I want to use hand-crafted queries (instead of relying on Fluent's ORM). I run...

enhancement

Add enum representing postgres type names. This is different than what `PostgresDataType` represents as that does not include precisions / lengths, it only identifies the wire protocol format. List of...

enhancement

I have been trying to parse a GeoJSON, which has a multidimensional array `coordinates`, example: ```json { "features": [ { "type": "Feature", "geometry": { "type": "Polygon", "coordinates": [ [ [...

enhancement

Currently, the FluentPostgreSQL integration needs to check PSQL version during boot time. This happens [here](https://github.com/vapor/fluent-postgresql/blob/master/Sources/FluentPostgreSQL/FluentPostgreSQLProvider.swift#L22). This check requires a known, static database identifier to create a new connection. This makes...

enhancement

Currently, `[UInt8]` gets the default array PostgresData conformance which results in `byte[]`. Ideally, this should create `bytea` which is Postgres' preferred storage format for an array of bytes.

enhancement

Support converting to/from `Swift.Date` with TEXT (simple) queries.

enhancement

create a table: ``` CREATE TABLE media ( id bigserial NOT NULL PRIMARY KEY, tags text[] ); ``` now do: ``` let rows = try connection.simpleQuery("SELECT * FROM media WHERE...

enhancement