Pipelinez.PostgreSql 1.3.0

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

Pipelinez.PostgreSql

PostgreSQL transport extensions for Pipelinez.

Use Pipelinez.PostgreSql when a Pipelinez pipeline needs to write successful records or dead-letter records to PostgreSQL tables owned by your application.

What This Package Does

Pipelinez.PostgreSql adds:

  • WithPostgreSqlDestination(...)
  • WithPostgreSqlDeadLetterDestination(...)
  • consumer-owned table mapping through PostgreSqlTableMap<T>
  • custom parameterized SQL execution through PostgreSqlCommandDefinition
  • Dapper-backed PostgreSQL writes for normal and dead-letter flows

Install

dotnet add package Pipelinez.PostgreSql

Pipelinez.PostgreSql depends on Pipelinez, so you do not need to add both explicitly unless you prefer to do so.

When To Use This Package

Use this package when PostgreSQL is a pipeline destination or dead-letter store. The package does not require a Pipelinez-owned schema; your application controls table names, column names, and custom SQL.

Minimal Example

using Pipelinez.Core;
using Pipelinez.Core.Record;
using Pipelinez.PostgreSql;
using Pipelinez.PostgreSql.Configuration;
using Pipelinez.PostgreSql.Mapping;

var pipeline = Pipeline<OrderRecord>.New("orders")
    .WithInMemorySource(new object())
    .WithPostgreSqlDestination(
        new PostgreSqlDestinationOptions
        {
            ConnectionString = "Host=localhost;Database=pipelinez;Username=postgres;Password=postgres"
        },
        PostgreSqlTableMap<OrderRecord>.ForTable("app", "processed_orders")
            .Map("order_id", record => record.Id)
            .MapJson("payload", record => record))
    .Build();

public sealed class OrderRecord : PipelineRecord
{
    public required string Id { get; init; }
}

Common Recipes

  • Write successful pipeline records to a PostgreSQL table.
  • Write dead-letter records to a PostgreSQL dead-letter table.
  • Use PostgreSqlTableMap<T> for generated inserts into consumer-owned tables.
  • Use PostgreSqlCommandDefinition for custom parameterized SQL.
  • Combine Pipelinez.Kafka with Pipelinez.PostgreSql to persist processed Kafka records.
  • Pipelinez core pipeline runtime.
  • Pipelinez.Kafka Kafka source, destination, dead-lettering, distributed execution, and partition-aware scaling.
  • Pipelinez.RabbitMQ RabbitMQ source, destination, dead-lettering, and competing-consumer workers.

Documentation

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
1.3.0 105 4/17/2026
1.2.0 113 4/15/2026
1.1.0 103 4/10/2026