Skip to content

SQL Postgres Provider

SQL Postgres Provider is the bounded Institute-native PostgreSQL provider for the engine-free SQL membrane. It contains the wire client, PostgreSQL row decoding, transaction scopes, cancellation-aware blocking I/O, and a bounded lazy connection pool.

The first slice deliberately supports IPv4 TCP, PostgreSQL protocol 3.0, cleartext and SCRAM-SHA-256 authentication, and text-format extended queries. TLS, DNS/IPv6 address resolution, prepared-statement caching, reconnect policy, and multi-writer coordination are not part of this package. The provider preserves the SQL.Database transaction and rollback contract; the control plane remains the single kernel owner and writer.

Installation

Add the package to your Package.swift dependencies:

.package(url: "https://github.com/swift-foundations/swift-sql-postgres-provider.git", branch: "main")

Then add the product to your target's dependencies:

.target(
    name: "YourTarget",
    dependencies: [
        .product(name: "SQL Postgres Provider", package: "swift-sql-postgres-provider")
    ]
)

License

Apache 2.0. See LICENSE.

About

Institute-native PostgreSQL provider for swift-sql.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages