Cohesive.Adapters.Postgres.Infra
0.1.0-alpha.140
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
<PackageReference Include="Cohesive.Adapters.Postgres.Infra" Version="0.1.0-alpha.140" />
<PackageVersion Include="Cohesive.Adapters.Postgres.Infra" Version="0.1.0-alpha.140" />
<PackageReference Include="Cohesive.Adapters.Postgres.Infra" />
paket add Cohesive.Adapters.Postgres.Infra --version 0.1.0-alpha.140
#r "nuget: Cohesive.Adapters.Postgres.Infra, 0.1.0-alpha.140"
#:package Cohesive.Adapters.Postgres.Infra@0.1.0-alpha.140
#addin nuget:?package=Cohesive.Adapters.Postgres.Infra&version=0.1.0-alpha.140&prerelease
#tool nuget:?package=Cohesive.Adapters.Postgres.Infra&version=0.1.0-alpha.140&prerelease
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 | Versions 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. |
-
net10.0
- Cohesive.Adapters.Postgres (>= 0.1.0-alpha.140)
- Cohesive.Infra (>= 0.1.0-alpha.140)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Cohesive.Adapters.Postgres.Infra:
| Package | Downloads |
|---|---|
|
Cohesive.Adapters.Aspire.Postgres
Cohesive semantic system definition and orchestration building blocks. |
|
|
Cohesive.Adapters.Postgres.Services
Native query readers and infrastructure evidence derived from service selections. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-alpha.158 | 0 | 10/24/2026 |
| 0.1.0-alpha.157 | 27 | 10/24/2026 |
| 0.1.0-alpha.156 | 44 | 10/22/2026 |
| 0.1.0-alpha.155 | 52 | 10/20/2026 |
| 0.1.0-alpha.154 | 53 | 10/20/2026 |
| 0.1.0-alpha.153 | 50 | 10/20/2026 |
| 0.1.0-alpha.152 | 55 | 10/19/2026 |
| 0.1.0-alpha.151 | 58 | 10/19/2026 |
| 0.1.0-alpha.150 | 52 | 10/19/2026 |
| 0.1.0-alpha.149 | 57 | 10/18/2026 |
| 0.1.0-alpha.148 | 58 | 10/18/2026 |
| 0.1.0-alpha.147 | 60 | 10/18/2026 |
| 0.1.0-alpha.146 | 61 | 10/18/2026 |
| 0.1.0-alpha.145 | 65 | 10/17/2026 |
| 0.1.0-alpha.144 | 60 | 10/17/2026 |
| 0.1.0-alpha.143 | 63 | 10/16/2026 |
| 0.1.0-alpha.142 | 58 | 10/16/2026 |
| 0.1.0-alpha.141 | 61 | 10/16/2026 |
| 0.1.0-alpha.140 | 52 | 10/15/2026 |