DataSubset.PostgreSql 0.1.4

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

DataSubset.PostgreSql

PostgreSQL-specific dependency discovery utilities for DataSubset. Implements Npgsql-backed schema inspection and graph traversal to extract relationship-aware, minimal subsets of data for testing, migration, and export scenarios.

  • Target framework: .NET 8
  • Package ID: DataSubset.PostgreSql
  • Depends on: DataSubset.Core
  • Uses: Npgsql

Install

  • dotnet CLI
    • dotnet add package DataSubset.PostgreSql
  • NuGet Package Manager
    • Install-Package DataSubset.PostgreSql

Features

  • Schema inspection via Npgsql (tables, primary/foreign keys, constraints)
  • Relationship graph construction from PostgreSQL catalogs
  • Configurable traversal to compute minimal dependent row sets
  • Works with DataSubset.Core abstractions

Getting started

do

  1. Reference both DataSubset.PostgreSql and DataSubset.Core.
  2. Provide a PostgreSQL connection string.
  3. Use the PostgreSQL discovery service to read schema and build a relationship graph.
  4. Apply traversal rules to resolve the subset of related rows for your seed data.
  5. Export or process the resulting subset as needed.

Ensure your application or tooling has network access and permissions to read the PostgreSQL catalogs.

License

See the LICENSE file in this repository.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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.4 206 10/7/2025
0.1.3 168 10/3/2025
0.1.0 188 10/1/2025