Cohesive.Adapters.Postgres.Services
0.1.0-alpha.144
See the version list below for details.
dotnet add package Cohesive.Adapters.Postgres.Services --version 0.1.0-alpha.144
NuGet\Install-Package Cohesive.Adapters.Postgres.Services -Version 0.1.0-alpha.144
<PackageReference Include="Cohesive.Adapters.Postgres.Services" Version="0.1.0-alpha.144" />
<PackageVersion Include="Cohesive.Adapters.Postgres.Services" Version="0.1.0-alpha.144" />
<PackageReference Include="Cohesive.Adapters.Postgres.Services" />
paket add Cohesive.Adapters.Postgres.Services --version 0.1.0-alpha.144
#r "nuget: Cohesive.Adapters.Postgres.Services, 0.1.0-alpha.144"
#:package Cohesive.Adapters.Postgres.Services@0.1.0-alpha.144
#addin nuget:?package=Cohesive.Adapters.Postgres.Services&version=0.1.0-alpha.144&prerelease
#tool nuget:?package=Cohesive.Adapters.Postgres.Services&version=0.1.0-alpha.144&prerelease
PostgreSQL service preparation
Optional integration of Cohesive.Api.Execution service selections with PostgreSQL runtime readers and
Cohesive.Infra evidence. The base PostgreSQL adapter does not depend on service hosting.
Declare relational queries through API implementation Bind calls (or explicit ServiceDependencies.Query for separately authored services).
bindings.PrepareService(service, implementationId) derives provider-neutral snapshot requirements and
native PostgreSQL evidence from those selections. persistence.Query(service, query) checks the exact
semantic inputs and prepares a reader using the selected row and byte bounds. Both paths run at setup,
without database IO; schema installation, credentials, privileges and runtime readiness remain separate.
Only SingleSnapshot selections are supported by this native recipe. IndependentSources requires explicit
composed preparation and fails here with a coded service diagnostic. No cross-query snapshot is claimed.
The service selections remain host attachments to canonical query IR, not a second query definition.
Tests in PostgresServiceSelectionTests cover exact selection, bounds, immutable registration, unselected
queries and consistency rejection. The Aspire-first integration tests exercise the resulting readers and
process bindings against real PostgreSQL, including receipt replay and cross-partition isolation.
persistence.ForServices(validatedReceipts) attaches the same native mappings to IServicePersistence.
Process observation contracts select a unique registered entity mapping; no entity/repository list is repeated
at each service binding. Repositories are shared within this resolver's host lifetime. Native query preparation
still receives explicit complete-result bounds. The resolver owns no data sources and performs no schema IO.
ForServices shares repository instances by observation contract and query readers by exact query instance
and row/byte bounds within one resolver. Preparation is synchronized and successful readers are retained
for that host scope; failed preparation is not cached. Inputs and results remain invocation-scoped.
| 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.Infra (>= 0.1.0-alpha.144)
- Cohesive.Api.Execution (>= 0.1.0-alpha.144)
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.157 | 0 | 10/24/2026 |
| 0.1.0-alpha.156 | 37 | 10/22/2026 |
| 0.1.0-alpha.155 | 42 | 10/20/2026 |
| 0.1.0-alpha.154 | 44 | 10/20/2026 |
| 0.1.0-alpha.153 | 42 | 10/20/2026 |
| 0.1.0-alpha.152 | 49 | 10/19/2026 |
| 0.1.0-alpha.151 | 47 | 10/19/2026 |
| 0.1.0-alpha.150 | 44 | 10/19/2026 |
| 0.1.0-alpha.149 | 49 | 10/18/2026 |
| 0.1.0-alpha.148 | 49 | 10/18/2026 |
| 0.1.0-alpha.147 | 46 | 10/18/2026 |
| 0.1.0-alpha.146 | 51 | 10/18/2026 |
| 0.1.0-alpha.145 | 54 | 10/17/2026 |
| 0.1.0-alpha.144 | 49 | 10/17/2026 |
| 0.1.0-alpha.143 | 51 | 10/16/2026 |
| 0.1.0-alpha.142 | 49 | 10/16/2026 |
| 0.1.0-alpha.141 | 53 | 10/16/2026 |