TicketFlow.Conversations.Stores.Postgres 0.1.0-alpha.4.1

This is a prerelease version of TicketFlow.Conversations.Stores.Postgres.
dotnet add package TicketFlow.Conversations.Stores.Postgres --version 0.1.0-alpha.4.1
                    
NuGet\Install-Package TicketFlow.Conversations.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.Conversations.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.Conversations.Stores.Postgres" Version="0.1.0-alpha.4.1" />
                    
Directory.Packages.props
<PackageReference Include="TicketFlow.Conversations.Stores.Postgres" />
                    
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 TicketFlow.Conversations.Stores.Postgres --version 0.1.0-alpha.4.1
                    
#r "nuget: TicketFlow.Conversations.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.Conversations.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.Conversations.Stores.Postgres&version=0.1.0-alpha.4.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=TicketFlow.Conversations.Stores.Postgres&version=0.1.0-alpha.4.1&prerelease
                    
Install as a Cake Tool

TicketFlow.Conversations.Stores.Postgres

Optional durable PostgreSQL storage for TicketFlow conversations.

  • PostgresConversationStore implements IConversationStore, IConversationOutbox and IConversationAttributeDefinitionStore over an application-owned NpgsqlDataSource.
  • A conversation write runs in one transaction: the revision- and timeline-head-fenced snapshot row, timeline event rows (gapless per-conversation sequence, primary key (conversation_key, sequence)), message rows (unique external id per inbox through a partial unique index, so concurrent duplicate inbound messages admit one winner) and the outbox entry with one pending delivery per registered consumer.
  • Lists are keyset-paged over (scope_key, [inbox|status|assignee|team|contact], last_activity_at DESC, conversation_id DESC) indexes (labels via GIN) with the Access filter translated by PostgresAccessFilterTranslator in the same statement (untranslatable filters deny all).
  • Outbox claims use FOR UPDATE SKIP LOCKED with fences, leases and per-conversation ordering; acknowledgements and releases are fenced and require a live lease.
  • Keys use fixed-size tf_key_v1 hashes; rows carry format_version and numeric discriminators; payloads use ConversationJsonCodec versioned JSON.
services.AddTicketFlow()
    .AddAccessControl().AddPostgresAccessStores(dataSource)
    .AddConversations()
    .AddPostgresConversationStores(dataSource);
await new PostgresConversationStore(dataSource).InitializeAsync();   // explicit schema creation

InitializeAsync applies the append-only, checksummed PostgresConversationMigrations.Catalog with the shared migration runner.

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 TicketFlow.Conversations.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 39 11/23/2026
0.1.0-alpha.3.1 42 11/23/2026
0.1.0-alpha.2.1 46 11/22/2026