Perfect-PostgreSQL icon indicating copy to clipboard operation
Perfect-PostgreSQL copied to clipboard

A stand-alone Swift wrapper around the libpq client library, enabling access to PostgreSQL servers.

Results 7 Perfect-PostgreSQL issues
Sort by recently updated
recently updated
newest added

Reconcile package snippet with current Swift syntax.

> Add this project as a dependency in your Package.swift file. > .Package(url: "https://github.com/PerfectlySoft/Perfect-PostgreSQL.git", majorVersion: 3) * Package is incorrect as Swift now uses lowerscore Package. * majorVersion is incorrect...

I found PGConnection is not thread-safe. This causes critical errors on multi-threaded applications (e.g. applications based on Perfect-HTTPServer). To make it thread-safe, I introduced a lock to protect libpq connection...

Updated PGResult to conform to Sequence and IteratorProtocol, created PGRow struct to handle the row based access. Added Tests to cover new functionality. Also created quickstart examples to illustrate usage.

Is there a way to add this as a framework/lib to an already existing xcode app project? Thanks

brew install postgres fails (M2 Mac): ❯ brew install postgres Warning: No available formula with the name "postgres". Did you mean postgrest or postgis? postgresql breaks existing databases on upgrade...