Compze.DbPool.PostgreSql 0.14.0-alpha

Prefix Reserved
This is a prerelease version of Compze.DbPool.PostgreSql.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Compze.DbPool.PostgreSql --version 0.14.0-alpha
                    
NuGet\Install-Package Compze.DbPool.PostgreSql -Version 0.14.0-alpha
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Compze.DbPool.PostgreSql" Version="0.14.0-alpha" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Compze.DbPool.PostgreSql" Version="0.14.0-alpha" />
                    
Directory.Packages.props
<PackageReference Include="Compze.DbPool.PostgreSql" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Compze.DbPool.PostgreSql --version 0.14.0-alpha
                    
#r "nuget: Compze.DbPool.PostgreSql, 0.14.0-alpha"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Compze.DbPool.PostgreSql@0.14.0-alpha
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Compze.DbPool.PostgreSql&version=0.14.0-alpha&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Compze.DbPool.PostgreSql&version=0.14.0-alpha&prerelease
                    
Install as a Cake Tool

Compze.DbPool.PostgreSql

Empty PostgreSQL databases on demand for integration testing etc.

PostgreSQL support for Compze.DbPool.

A pool

IDbPool.PgSql() creates a pool whose databases come from the DbPool service the test project's build property CompzeDbPoolService names, else the one on this machine. Each reservation name gets an empty database of its own; disposing the pool returns them.

using Compze.DbPool;
using Compze.DbPool.PostgreSql;

using var pool = IDbPool.PgSql();
var connectionString = pool.ConnectionStringFor("orders");

For Compze's named domain databases, use Compze.Sql.PostgreSql.Testing.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Compze.DbPool.PostgreSql:

Package Downloads
Compze.Sql.PostgreSql.Testing

Test databases from a DbPool for Compze's named PostgreSQL domain databases: PgSqlTestDatabases() has a root container and its clones use them.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.19.0-alpha 0 12/5/2026
0.18.1-alpha 0 12/5/2026
0.18.0-alpha 0 12/5/2026
0.17.1-alpha 0 12/5/2026
0.17.0-alpha 0 12/5/2026
0.16.0-alpha 0 12/5/2026
0.15.1-alpha 0 12/5/2026
0.15.0-alpha 0 12/5/2026
0.14.0-alpha 0 12/5/2026
0.8.2-alpha 6 12/5/2026
0.8.1-alpha 37 12/5/2026
0.8.0-alpha 88 12/5/2026
0.7.0-alpha 62 12/5/2026
0.6.12-alpha 54 12/5/2026
0.6.11-alpha 44 12/5/2026
0.6.10-alpha 53 12/4/2026
0.6.9-alpha 59 12/4/2026
0.6.8-alpha 71 12/4/2026
0.6.7-alpha 89 12/4/2026
0.6.6-alpha 66 12/4/2026
Loading failed