Skip to main content
Npgsql package icon

Npgsql

Npgsql is a .Net data provider for Postgresql. It allows any program developed for .Net framework to access database server. It is implemented in 100% C# code. Postgresql 9.x and above is officially supported.

Total Downloads
944.2M
944,150,255
Published
Sep 18, 2015
Latest stable version

Install

.NET CLI
dotnet add package Npgsql --version 2.2.7
Package Manager Console
Install-Package Npgsql -Version 2.2.7
PackageReference
<PackageReference Include="Npgsql" Version="2.2.7" />

Frameworks

No framework metadata available.

Dependencies

No declared dependencies.

Adoption guide

Applications standardized on PostgreSQL that need robust async support and observability integration.

Databases guide
Why it appears in the guide: High-quality PostgreSQL data provider for .NET with strong performance and PostgreSQL feature coverage. Trade-off: Provider-specific data type behaviors should be tested when porting from other engines.

Published vulnerability advisories exist for this version. Read the advisory and choose a remediated version before release.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.