TicketFlow.Contacts.Stores.Postgres
0.1.0-alpha.4.1
This is a prerelease version of TicketFlow.Contacts.Stores.Postgres.
dotnet add package TicketFlow.Contacts.Stores.Postgres --version 0.1.0-alpha.4.1
NuGet\Install-Package TicketFlow.Contacts.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.Contacts.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.Contacts.Stores.Postgres" Version="0.1.0-alpha.4.1" />
<PackageReference Include="TicketFlow.Contacts.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.Contacts.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.Contacts.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.Contacts.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.Contacts.Stores.Postgres&version=0.1.0-alpha.4.1&prerelease
#tool nuget:?package=TicketFlow.Contacts.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.Contacts.Stores.Postgres
Optional durable PostgreSQL storage for TicketFlow contacts.
PostgresContactStoreimplementsIContactStore,IContactAttributeDefinitionStore,IContactAuditSinkandIContactLinkingStoreover an application-ownedNpgsqlDataSource.- Write batches run in one transaction: revision-fenced contact rows, identity rows, merge records, outbox change events (gapless sequence per scope) and audit events commit together or not at all.
- Verified identities are unique per scope, kind, namespace and normalized value through a partial unique index; claimed identities may repeat. Concurrent claims of the same verified identity admit exactly one winner.
- Search is keyset-paged over
(scope_key, name_folded, contact_id)and(scope_key, kind, value, contact_id)indexes with the Access filter translated byPostgresAccessFilterTranslatorin the same statement (untranslatable filters deny all). IContactLinkingStore(migration 3,account-linking):tf_contact_linking_policies(compare-and-set policy JSON) andtf_contact_link_suggestionswith a partial unique index keeping one pending suggestion per (candidate, account) pair; listing scans at most 1000 rows per page and evaluates the translated access filter on both joined contacts. Migration 4 adds identity change kinds and the retention index used byPruneDecidedSuggestionsAsync.- Keys use fixed-size
tf_key_v1hashes; rows carryformat_versionand numeric discriminators; attribute values and merge contributions useContactJsonCodecversioned JSON.
services.AddTicketFlow()
.AddAccessControl()
.AddPostgresAccessStores(dataSource)
.AddContacts()
.AddPostgresContactStores(dataSource);
await new PostgresContactStore(dataSource).InitializeAsync(); // explicit schema creation
InitializeAsync applies the append-only, checksummed PostgresContactMigrations.Catalog with the shared migration runner.
| 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.Contacts.Abstractions (>= 0.1.0-alpha.4.1)
- TicketFlow.Stores.Migrations.Postgres (>= 0.1.0-alpha.4.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on TicketFlow.Contacts.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 | 40 | 11/23/2026 |
| 0.1.0-alpha.3.1 | 41 | 11/23/2026 |
| 0.1.0-alpha.2.1 | 46 | 11/22/2026 |