Compze.TypeIdentifiers.Interning.PostgreSql 0.4.0-alpha

Prefix Reserved
This is a prerelease version of Compze.TypeIdentifiers.Interning.PostgreSql.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Compze.TypeIdentifiers.Interning.PostgreSql --version 0.4.0-alpha
                    
NuGet\Install-Package Compze.TypeIdentifiers.Interning.PostgreSql -Version 0.4.0-alpha
                    
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="Compze.TypeIdentifiers.Interning.PostgreSql" Version="0.4.0-alpha" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Compze.TypeIdentifiers.Interning.PostgreSql" Version="0.4.0-alpha" />
                    
Directory.Packages.props
<PackageReference Include="Compze.TypeIdentifiers.Interning.PostgreSql" />
                    
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 Compze.TypeIdentifiers.Interning.PostgreSql --version 0.4.0-alpha
                    
#r "nuget: Compze.TypeIdentifiers.Interning.PostgreSql, 0.4.0-alpha"
                    
#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 Compze.TypeIdentifiers.Interning.PostgreSql@0.4.0-alpha
                    
#: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=Compze.TypeIdentifiers.Interning.PostgreSql&version=0.4.0-alpha&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Compze.TypeIdentifiers.Interning.PostgreSql&version=0.4.0-alpha&prerelease
                    
Install as a Cake Tool

Compze.TypeIdentifiers.Interning.PostgreSql

PostgreSQL backend for Compze.TypeIdentifiers.Interning — a PostgreSQL ITypeIdInternerPersistence implementation that stores the database-local TypeId → int mapping in PostgreSQL.

What is Compze?

Compze is a .NET framework for building expressive domains through Teventive programming and Typermedia APIs. Learn more

Installation

dotnet add package Compze.TypeIdentifiers.Interning.PostgreSql

License

Apache-2.0

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 (3)

Showing the top 3 NuGet packages that depend on Compze.TypeIdentifiers.Interning.PostgreSql:

Package Downloads
Compze.Tessaging.PostgreSql

For Compze internal use only. Do not take a direct dependency on this package. PostgreSQL inbox/outbox backend for Compze messaging.

Compze.DocumentDb.PostgreSql

PostgreSQL backend for the Compze document database: a PostgreSQL IDocumentDbSqlLayer implementation for Compze.DocumentDb.

Compze.Teventive.TeventStore.PostgreSql

For Compze internal use only. Do not take a direct dependency on this package. PostgreSQL tevent-store backend for Compze.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.4.17-alpha 0 12/5/2026
0.4.16-alpha 0 12/5/2026
0.4.15-alpha 0 12/5/2026
0.4.14-alpha 53 12/5/2026
0.4.13-alpha 44 12/5/2026
0.4.12-alpha 46 12/5/2026
0.4.11-alpha 52 12/5/2026
0.4.10-alpha 66 12/4/2026
0.4.9-alpha 96 12/3/2026
0.4.8-alpha 61 12/3/2026
0.4.7-alpha 87 12/3/2026
0.4.6-alpha 110 12/2/2026
0.4.5-alpha 68 12/2/2026
0.4.4-alpha 154 11/29/2026
0.4.3-alpha 89 11/28/2026
0.4.2-alpha 85 11/28/2026
0.4.1-alpha 89 11/28/2026
0.4.0-alpha 110 11/27/2026
0.3.1-alpha 132 11/25/2026
0.3.0-alpha 126 11/14/2026
Loading failed

- **Storing a type the database hasn't stored before no longer deadlocks the connection pool.** The interner reads and mints type ids outside the unit of work's transaction, and took its connections from the pool units of work hold their transactions' connections from. A unit of work that held a taggregate's lock and stored a tevent of a new type, while units of work waiting for that lock held every connection of the pool, got no connection, and all of them waited until the pool timed out, 15 s by default: the PostgreSQL tevent store's deadlock. The interner now takes its connections from a pool of its own on the database, of at most two connections, which the server shows as `Compze type id interner`'s: a database may have two connections more than before.
- **Requires newer minor versions of other Compze packages:** Compze.Abstractions 0.5.0-alpha (was 0.4.1-alpha), Compze.Sql.PostgreSql 0.8.0-alpha (was 0.6.0-alpha). Upgrading to this version upgrades each package listed here too, so their changelogs apply to this upgrade as well.