Cohesive.Adapters.Postgres 0.1.0-alpha.80

This is a prerelease version of Cohesive.Adapters.Postgres.
dotnet add package Cohesive.Adapters.Postgres --version 0.1.0-alpha.80
                    
NuGet\Install-Package Cohesive.Adapters.Postgres -Version 0.1.0-alpha.80
                    
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="Cohesive.Adapters.Postgres" Version="0.1.0-alpha.80" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Cohesive.Adapters.Postgres" Version="0.1.0-alpha.80" />
                    
Directory.Packages.props
<PackageReference Include="Cohesive.Adapters.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 Cohesive.Adapters.Postgres --version 0.1.0-alpha.80
                    
#r "nuget: Cohesive.Adapters.Postgres, 0.1.0-alpha.80"
                    
#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 Cohesive.Adapters.Postgres@0.1.0-alpha.80
                    
#: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=Cohesive.Adapters.Postgres&version=0.1.0-alpha.80&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Cohesive.Adapters.Postgres&version=0.1.0-alpha.80&prerelease
                    
Install as a Cake Tool

Cohesive.Adapters.Postgres

Cohesive.Adapters.Postgres realizes Cohesive Relations, Storage, materialization, Process durability, and logical replication semantics on PostgreSQL through explicit bindings and Npgsql-backed runtime ports.

Install

dotnet add package Cohesive.Adapters.Postgres

Start with safe SQL construction

The standalone builder quotes identifiers and parameterizes values. It is useful on its own and is also shared by the canonical compiler:

var template = new SqlSelectBuilder(
        new SqlQualifiedTable("transport", "loads"),
        "l")
    .Select(SqlExpression.Column("l", "id"), "id")
    .Where(SqlExpression.Binary(
        SqlBinaryOperator.Equal,
        SqlExpression.Column("l", "status"),
        SqlExpression.RuntimeParameter("status")))
    .OrderBy(SqlExpression.Column("l", "id"))
    .Limit(100)
    .BuildTemplate(PostgresSqlDialect.Instance);

var statement = template.Bind(PostgresSqlDialect.Instance, new Dictionary<string, object?>
{
    ["status"] = "Open"
});

For canonical Relations, author the relation first, compile its exact demand, place acquired inputs in a PostgreSQL execution domain, then bind semantic fields to tables and columns. Semantic-path conventions handle ordinary names; explicit mappings and evidence are required where the physical model differs.

Implemented interpretations

  • Parameterized native SQL compilation for the declared PostgreSQL target profile.
  • Npgsql source acquisition for bounded enumeration, identity batches, and predicate batches.
  • Exact Relation storage-binding authoring and capability evidence.
  • Entity repositories and aggregate storage realization.
  • Durable Process aggregate persistence and distribution ledgers.
  • Materialization state, generation routing, rebuild, and reconciliation sources.
  • Logical replication with exact slot, baseline, checkpoint, and settlement evidence.

Current boundary

The adapter preserves only semantics proven by its target profiles and binding evidence. Text equality and ordering, temporal intervals, isolation, pagination, and change-feed assumptions are distinct claims. Missing evidence produces structured diagnostics before native compilation or execution.

The standalone SQL builder expresses PostgreSQL behavior; using it does not manufacture a canonical Relation plan or prove equivalence with one.

Continue

Product Compatible and additional computed target framework versions.
.NET 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
0.1.0-alpha.80 34 9/8/2026
0.1.0-alpha.79 49 9/7/2026
0.1.0-alpha.78 54 9/7/2026
0.1.0-alpha.77 56 9/7/2026
0.1.0-alpha.76 50 9/6/2026
0.1.0-alpha.75 50 9/6/2026
0.1.0-alpha.74 53 9/6/2026
0.1.0-alpha.73 69 9/5/2026
0.1.0-alpha.72 47 9/5/2026
0.1.0-alpha.71 49 9/4/2026
0.1.0-alpha.70 47 9/4/2026
0.1.0-alpha.69 49 9/2/2026
0.1.0-alpha.68 51 8/30/2026
0.1.0-alpha.67 55 8/26/2026
0.1.0-alpha.66.5 56 9/6/2026
0.1.0-alpha.66.4 55 8/30/2026
0.1.0-alpha.66.3 49 8/29/2026
0.1.0-alpha.66.2 55 8/27/2026
0.1.0-alpha.66.1 51 8/26/2026
0.1.0-alpha.66 59 8/25/2026
Loading failed