RecurringThings.PostgreSQL
0.1.0-alpha.6
This is a prerelease version of RecurringThings.PostgreSQL.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package RecurringThings.PostgreSQL --version 0.1.0-alpha.6
NuGet\Install-Package RecurringThings.PostgreSQL -Version 0.1.0-alpha.6
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="RecurringThings.PostgreSQL" Version="0.1.0-alpha.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RecurringThings.PostgreSQL" Version="0.1.0-alpha.6" />
<PackageReference Include="RecurringThings.PostgreSQL" />
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 RecurringThings.PostgreSQL --version 0.1.0-alpha.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: RecurringThings.PostgreSQL, 0.1.0-alpha.6"
#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 RecurringThings.PostgreSQL@0.1.0-alpha.6
#: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=RecurringThings.PostgreSQL&version=0.1.0-alpha.6&prerelease
#tool nuget:?package=RecurringThings.PostgreSQL&version=0.1.0-alpha.6&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
RecurringThings.PostgreSQL
PostgreSQL persistence provider for RecurringThings.
Installation
dotnet add package RecurringThings
dotnet add package RecurringThings.PostgreSQL
Configuration
using RecurringThings.Configuration;
using RecurringThings.PostgreSQL.Configuration;
services.AddRecurringThings(builder =>
builder.UsePostgreSql(options =>
{
options.ConnectionString = "Host=localhost;Database=myapp;Username=user;Password=pass";
options.RunMigrationsOnStartup = true; // Optional, default is true
}));
Migrations
Migrations run automatically on startup when RunMigrationsOnStartup = true (default). The provider uses Entity Framework Core migrations with PostgreSQL advisory locks to ensure safe concurrent migration across multiple application replicas.
To disable automatic migrations:
builder.UsePostgreSql(options =>
{
options.ConnectionString = connectionString;
options.RunMigrationsOnStartup = false;
});
Integration Tests
Set the environment variable before running integration tests:
export POSTGRES_CONNECTION_STRING="Host=localhost;Database=test;Username=user;Password=pass"
dotnet test --filter 'Category=Integration'
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Microsoft.EntityFrameworkCore (>= 10.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.0)
- Npgsql.EntityFrameworkCore.PostgreSQL (>= 10.0.0)
- RecurringThings (>= 0.1.0-alpha.6)
- Transactional.PostgreSQL (>= 10.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.0.0 | 55 | 2/2/2026 |
| 0.1.0-alpha.10 | 37 | 2/2/2026 |
| 0.1.0-alpha.9 | 42 | 2/2/2026 |
| 0.1.0-alpha.8 | 44 | 1/28/2026 |
| 0.1.0-alpha.7 | 45 | 1/28/2026 |
| 0.1.0-alpha.6 | 37 | 1/28/2026 |
| 0.1.0-alpha.5 | 41 | 1/27/2026 |
| 0.1.0-alpha.4 | 37 | 1/27/2026 |
| 0.1.0-alpha.3 | 35 | 1/27/2026 |
| 0.1.0-alpha.2 | 39 | 1/27/2026 |
| 0.1.0-alpha.1 | 37 | 1/27/2026 |