BackWave.Postgres
1.10.1
dotnet add package BackWave.Postgres --version 1.10.1
NuGet\Install-Package BackWave.Postgres -Version 1.10.1
<PackageReference Include="BackWave.Postgres" Version="1.10.1" />
<PackageVersion Include="BackWave.Postgres" Version="1.10.1" />
<PackageReference Include="BackWave.Postgres" />
paket add BackWave.Postgres --version 1.10.1
#r "nuget: BackWave.Postgres, 1.10.1"
#:package BackWave.Postgres@1.10.1
#addin nuget:?package=BackWave.Postgres&version=1.10.1
#tool nuget:?package=BackWave.Postgres&version=1.10.1
BackWave.Postgres
The Postgres storage adapter for BackWave. Durable jobs backed by a versioned
SQL schema, with FOR UPDATE SKIP LOCKED claims so many workers pull work without contending, and
Transactional Enqueue so a job commits atomically with your business write.
using BackWave;
using BackWave.Generated;
using BackWave.Hosting;
using BackWave.Postgres;
builder.Services.AddBackWave(backwave =>
{
backwave
.UseStore(new PostgresJobStore(new PostgresStoreOptions
{
ConnectionString = builder.Configuration.GetConnectionString("BackWave")!,
AutoMigrate = true, // the embedded schema self-applies on startup
}))
.UseJobs(BackWaveJobs.Module);
backwave.AddWorkerGroup(new WorkerGroupOptions { Name = "default" });
});
ConnectionString is an ordinary Npgsql connection string. On a direct connection, add
Max Auto Prepare=64 to make the store's statements server-side prepared statements, so the server skips
parse and plan on each call. 64 is how many statements Npgsql keeps prepared on each connection. Do not
set it behind PgBouncer in transaction mode unless PgBouncer is 1.21 or later with
max_prepared_statements above 0.
Notes
AutoMigrate = trueapplies the embedded, versioned schema on startup. Leave it off and run the migration yourself if you manage schema out of band.SchemaNameplaces BackWave's tables in a schema of your choosing (defaults tobackwave).- Transactional Enqueue lets you enqueue on your own
NpgsqlTransaction, so the job and the rows it depends on commit or roll back together. For EF Core unit-of-work integration, add BackWave.EntityFrameworkCore.
Requires a running BackWave host, so add BackWave.Hosting. Full documentation: https://backwave.app
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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. net11.0 is compatible. |
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 |
|---|---|---|
| 1.10.1 | 48 | 12/4/2026 |
| 1.10.0 | 56 | 12/2/2026 |
| 1.9.4 | 104 | 11/26/2026 |
| 1.9.3 | 94 | 11/25/2026 |
| 1.9.2 | 95 | 11/25/2026 |
| 1.9.1 | 100 | 11/23/2026 |
| 1.9.0 | 144 | 11/22/2026 |
| 1.8.0 | 106 | 11/15/2026 |
| 1.8.0-preview.4 | 79 | 11/1/2026 |
| 1.8.0-preview.3 | 79 | 10/28/2026 |
| 1.8.0-preview.2 | 86 | 10/17/2026 |
| 1.8.0-preview.1 | 75 | 10/9/2026 |
| 1.7.0 | 832 | 9/21/2026 |
| 1.7.0-preview.3 | 89 | 9/16/2026 |
| 1.7.0-preview.2 | 100 | 8/26/2026 |
| 1.7.0-preview.1 | 115 | 8/19/2026 |
| 1.6.0 | 171 | 8/17/2026 |
| 1.5.0 | 155 | 8/16/2026 |
| 1.4.0 | 160 | 7/18/2026 |
| 1.3.0 | 158 | 7/15/2026 |
Release notes and upgrade guidance: https://backwave.app/