Cohesive.Adapters.Postgres.Infra 0.1.0-alpha.140

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

Cohesive.Adapters.Postgres.Infra

Optional integration between PostgreSQL query preparation and Cohesive.Infra. The base PostgreSQL adapter remains usable without Infra. No resources, connections or migrations are created here.

var required = PostgresInfrastructure.QuerySnapshot(query.CompilationRequest);
var artifact = bindings.Prepare(query.CompilationRequest);
var implementation = PostgresInfrastructure.QueryImplementation(new("orders/postgres"), artifact);

The requirement fingerprints the complete semantic plan reference: definition, shape snapshots, relationship catalog, demand, inputs and compiler profile. It does not depend on physical table names. Evidence is derived from a validated, fully placed, unpaged PostgreSQL query-row artifact. It attributes the exact artifact and binding fingerprints; changing a table changes evidence without changing the semantic requirement. Evidence for one plan cannot satisfy another plan's requirement.

QueryImplementation accepts multiple distinct queries on one database. Each gets an independent single-statement snapshot guarantee. It rejects empty/duplicate input, mixed databases, source-scoped bindings, paging and non-row branches. Composed or multi-read queries need different evidence; this factory must not certify them from one native prefix.

The canonical query is the semantic authority; PostgreSQL mappings and native compilation determine whether it can be realized. PostgresPersistenceBindings provides offline preparation shared with runtime registration. There are no app-authored capability assertions or runtime data-source stand-ins.

This is preparation evidence, not deployment or runtime qualification. Schema installation, permissions, provider availability, conditional entity writes, receipt atomicity and distributed snapshots are not claimed. Native query failure remains possible if the live database violates the prepared configuration.

The library tests cover exact-plan isolation, evidence sensitivity to mappings, offline/runtime artifact equality, mapping snapshot ownership and failures before IO. The Aspire example exercises actual native project metadata and the same mappings in its worker; PostgreSQL integration tests verify runtime use.

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

Showing the top 2 NuGet packages that depend on Cohesive.Adapters.Postgres.Infra:

Package Downloads
Cohesive.Adapters.Postgres.Services

Native query readers and infrastructure evidence derived from service selections.

Cohesive.Adapters.Aspire.Postgres

Cohesive semantic system definition and orchestration building blocks.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-alpha.158 67 10/24/2026
0.1.0-alpha.157 62 10/24/2026
0.1.0-alpha.156 65 10/22/2026
0.1.0-alpha.155 69 10/20/2026
0.1.0-alpha.154 66 10/20/2026
0.1.0-alpha.153 63 10/20/2026
0.1.0-alpha.152 60 10/19/2026
0.1.0-alpha.151 64 10/19/2026
0.1.0-alpha.150 58 10/19/2026
0.1.0-alpha.149 63 10/18/2026
0.1.0-alpha.148 68 10/18/2026
0.1.0-alpha.147 66 10/18/2026
0.1.0-alpha.146 68 10/18/2026
0.1.0-alpha.145 72 10/17/2026
0.1.0-alpha.144 66 10/17/2026
0.1.0-alpha.143 68 10/16/2026
0.1.0-alpha.142 65 10/16/2026
0.1.0-alpha.141 67 10/16/2026
0.1.0-alpha.140 60 10/15/2026