Cohesive.Adapters.Postgres.Services 0.1.0-alpha.144

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

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 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.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