TicketFlow.Workspaces.Stores.Postgres
0.1.0-alpha.4.1
This is a prerelease version of TicketFlow.Workspaces.Stores.Postgres.
dotnet add package TicketFlow.Workspaces.Stores.Postgres --version 0.1.0-alpha.4.1
NuGet\Install-Package TicketFlow.Workspaces.Stores.Postgres -Version 0.1.0-alpha.4.1
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="TicketFlow.Workspaces.Stores.Postgres" Version="0.1.0-alpha.4.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TicketFlow.Workspaces.Stores.Postgres" Version="0.1.0-alpha.4.1" />
<PackageReference Include="TicketFlow.Workspaces.Stores.Postgres" />
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 TicketFlow.Workspaces.Stores.Postgres --version 0.1.0-alpha.4.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TicketFlow.Workspaces.Stores.Postgres, 0.1.0-alpha.4.1"
#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 TicketFlow.Workspaces.Stores.Postgres@0.1.0-alpha.4.1
#: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=TicketFlow.Workspaces.Stores.Postgres&version=0.1.0-alpha.4.1&prerelease
#tool nuget:?package=TicketFlow.Workspaces.Stores.Postgres&version=0.1.0-alpha.4.1&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
TicketFlow.Workspaces.Stores.Postgres
Durable PostgreSQL storage for TicketFlow workspaces. PostgresWorkspaceStore implements IWorkspaceSettingsStore,
IInboxStore, ITeamStore and IBusinessCalendarStore over an application-owned NpgsqlDataSource.
- Explicit schema initialization:
await store.InitializeAsync()applies the append-only, checksummedPostgresWorkspaceMigrations.Catalog(componentticketflow.workspaces) throughTicketFlow.Stores.Migrations.Postgresin the data source's current schema. Nothing is created implicitly. - Every key includes the full workspace scope; primary keys and indexes use fixed-size
tf_key_v1SHA-256 keys and raw columns are compared for exact identity. Team members live intf_workspace_team_memberswith a per-user index, soListTeamsForUserAsync(and principal team snapshots) is one indexed query. - Updates and deletes are compare-and-set on
revision; creates start at revision 1. Per-workspace capacity and the per-user team limit (256) are checked under transaction-scoped advisory locks. Channel bindings are unique per workspace (migration v2 index; reuse isWorkspaceWriteRejection.ChannelBindingInUse). - Inbox and team lists translate the caller's
AccessFilterwithPostgresAccessFilterTranslatorinside the query; an untranslatable filter returns no rows. Ordering usesCOLLATE "C". - Rows carry
format_version; calendar schedules use the canonicalBusinessCalendarCodectext. Undecodable rows throw.
await using var dataSource = NpgsqlDataSource.Create(connectionString);
services.AddTicketFlow().AddAccessControl().AddPostgresAccessStores(dataSource)
.AddWorkspaces().AddPostgresWorkspaceStores(dataSource);
await new PostgresWorkspaceStore(dataSource).InitializeAsync();
| Product | Versions 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.
-
net11.0
- Npgsql (>= 10.0.3)
- TicketFlow.Access.Stores.Postgres (>= 0.1.0-alpha.4.1)
- TicketFlow.Stores.Migrations.Postgres (>= 0.1.0-alpha.4.1)
- TicketFlow.Workspaces.Abstractions (>= 0.1.0-alpha.4.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on TicketFlow.Workspaces.Stores.Postgres:
| Package | Downloads |
|---|---|
|
TicketFlow
Catch-all meta-package for the TicketFlow stack: core primitives, support domains, in-memory and PostgreSQL stores, ASP.NET Core hosting, SignalR realtime, background workers, Blazor management UI, and MCP server toolsets. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-alpha.4.1 | 41 | 11/23/2026 |
| 0.1.0-alpha.3.1 | 39 | 11/23/2026 |
| 0.1.0-alpha.2.1 | 45 | 11/22/2026 |