npgsql - Npgsql 10.0.3-ci.20260420T200047+sha.cb635a3b2

Npgsql is the open source .NET data provider for PostgreSQL.

PM> Install-Package Npgsql -Version 10.0.3-ci.20260420T200047 -Source https://www.myget.org/F/npgsql/api/v3/index.json

Copy to clipboard

> nuget.exe install Npgsql -Version 10.0.3-ci.20260420T200047 -Source https://www.myget.org/F/npgsql/api/v3/index.json

Copy to clipboard

> dotnet add package Npgsql --version 10.0.3-ci.20260420T200047 --source https://www.myget.org/F/npgsql/api/v3/index.json

Copy to clipboard
<PackageReference Include="Npgsql" Version="10.0.3-ci.20260420T200047" />
Copy to clipboard
source https://www.myget.org/F/npgsql/api/v3/index.json

nuget Npgsql  ~> 10.0.3-ci.20260420T200047
Copy to clipboard

> choco install Npgsql --version 10.0.3-ci.20260420T200047 --source https://www.myget.org/F/npgsql/api/v2

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "npgsql" -SourceLocation "https://www.myget.org/F/npgsql/api/v2"
Install-Module -Name "Npgsql" -RequiredVersion "10.0.3-ci.20260420T200047" -Repository "npgsql" -AllowPreRelease
Copy to clipboard

Browse the sources in this package using Visual Studio or WinDbg by configuring the following symbol server URL: https://www.myget.org/F/npgsql/api/v2/symbolpackage/


Npgsql - the .NET data provider for PostgreSQL

stable next patch daily builds (vnext) build gitter

What is Npgsql?

Npgsql is the open source .NET data provider for PostgreSQL. It allows you to connect and interact with PostgreSQL server using .NET.

For the full documentation, please visit the Npgsql website. For the Entity Framework Core provider that works with this provider, see Npgsql.EntityFrameworkCore.PostgreSQL.

Quickstart

Here's a basic code snippet to get you started:

using Npgsql;

var connString = "Host=myserver;Username=mylogin;Password=mypass;Database=mydatabase";

var dataSourceBuilder = new NpgsqlDataSourceBuilder(connString);
var dataSource = dataSourceBuilder.Build();

var conn = await dataSource.OpenConnectionAsync();

// Insert some data
await using (var cmd = new NpgsqlCommand("INSERT INTO data (some_field) VALUES (@p)", conn))
{
    cmd.Parameters.AddWithValue("p", "Hello world");
    await cmd.ExecuteNonQueryAsync();
}

// Retrieve all rows
await using (var cmd = new NpgsqlCommand("SELECT some_field FROM data", conn))
await using (var reader = await cmd.ExecuteReaderAsync())
{
    while (await reader.ReadAsync())
        Console.WriteLine(reader.GetString(0));
}

Key features

  • High-performance PostgreSQL driver. Regularly figures in the top contenders on the TechEmpower Web Framework Benchmarks.
  • Full support of most PostgreSQL types, including advanced ones such as arrays, enums, ranges, multiranges, composites, JSON, PostGIS and others.
  • Highly-efficient bulk import/export API.
  • Failover, load balancing and general multi-host support.
  • Great integration with Entity Framework Core via Npgsql.EntityFrameworkCore.PostgreSQL.

For the full documentation, please visit the Npgsql website at https://www.npgsql.org.

  • .NETFramework 8.0
    • Microsoft.Extensions.Logging.Abstractions (>= 8.0.0)
    • System.Diagnostics.DiagnosticSource (>= 9.0.11)
  • .NETFramework 9.0
    • Microsoft.Extensions.Logging.Abstractions (>= 9.0.0)
  • .NETFramework 10.0
    • Microsoft.Extensions.Logging.Abstractions (>= 10.0.0)
  • .NETFramework 8.0: 8.0.0.0
  • .NETFramework 9.0: 9.0.0.0
  • .NETFramework 10.0: 10.0.0.0

Owners

Shay Rojansky

Authors

Shay Rojansky, Nikita Kazmin, Brar Piening, Nino Floris, Yoh Deadfall, Austin Drenski, Emil Lenngren, Francisco Figueiredo Jr., Kenji Uno

Project URL

https://github.com/npgsql/npgsql

License

MIT

Tags

npgsql postgresql postgres ado ado.net database sql

Info

3288 total downloads
43 downloads for version 10.0.3-ci.20260420T200047+sha.cb635a3b2
Download (1.75 MB)
Download symbols (538.58 KB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
10.0.4-ci.20260702T104633+sha.562845f6c 1.75 MB Thu, 02 Jul 2026 10:47:32 GMT 23
10.0.4-ci.20260527T123622+sha.6e2b8aacc 1.75 MB Wed, 27 May 2026 12:37:21 GMT 35
10.0.3-ci.20260424T091527+sha.92e3db415 1.75 MB Fri, 24 Apr 2026 09:16:14 GMT 38
10.0.3-ci.20260421T160057+sha.62a2f379b 1.75 MB Tue, 21 Apr 2026 16:01:45 GMT 38
10.0.3-ci.20260420T200954+sha.170cd049d 1.75 MB Mon, 20 Apr 2026 20:10:42 GMT 37
10.0.3-ci.20260420T200047+sha.cb635a3b2 1.75 MB Mon, 20 Apr 2026 20:03:40 GMT 43
10.0.3-ci.20260413T133547+sha.e8b670935 1.75 MB Mon, 13 Apr 2026 13:36:39 GMT 31
10.0.3-ci.20260413T124716+sha.d599de99f 1.75 MB Mon, 13 Apr 2026 12:47:58 GMT 35
10.0.3-ci.20260410T135118+sha.370d7551a 1.75 MB Fri, 10 Apr 2026 13:52:05 GMT 34
10.0.3-ci.20260403T164855+sha.4cf9e69a2 1.75 MB Fri, 03 Apr 2026 16:49:41 GMT 42
10.0.3-ci.20260312T160349+sha.e0993c793 1.75 MB Thu, 12 Mar 2026 16:04:34 GMT 47
10.0.2-ci.20260302T133848+sha.0862df4fd 1.75 MB Mon, 02 Mar 2026 13:39:36 GMT 39
10.0.2-ci.20260210T184219+sha.1dda8f9ae 1.75 MB Tue, 10 Feb 2026 18:43:08 GMT 41
10.0.2-ci.20260207T084552+sha.ea5c1316c 1.75 MB Sat, 07 Feb 2026 08:46:39 GMT 45
10.0.2-ci.20260202T103937+sha.39eaacf43 1.75 MB Mon, 02 Feb 2026 10:40:26 GMT 35
10.0.2-ci.20260202T102231+sha.d7b9fd401 1.75 MB Mon, 02 Feb 2026 10:23:16 GMT 43
10.0.2-ci.20260126T160410+sha.d5b09131d 1.75 MB Mon, 26 Jan 2026 16:04:53 GMT 55
10.0.2-ci.20260123T105554+sha.e9b9fd6ee 1.75 MB Fri, 23 Jan 2026 10:56:43 GMT 44
10.0.2-ci.20251230T123653+sha.f87005b87 1.75 MB Tue, 30 Dec 2025 12:37:44 GMT 52
10.0.2-ci.20251230T111301+sha.181f2474d 1.75 MB Tue, 30 Dec 2025 11:13:52 GMT 59
10.0.2-ci.20251219T072041+sha.0f7940d4e 1.75 MB Fri, 19 Dec 2025 07:21:34 GMT 48
10.0.1-ci.20251218T141425+sha.12d792ac2 1.75 MB Thu, 18 Dec 2025 14:15:07 GMT 53
10.0.1-ci.20251209T100834+sha.aa0e13893 1.75 MB Tue, 09 Dec 2025 10:09:21 GMT 55
10.0.0-ci.20251122T170906+sha.a18021849 1.75 MB Sat, 22 Nov 2025 17:09:59 GMT 68
9.0.6-ci.20260702T105937+sha.fd6cf8276 1.14 MB Thu, 02 Jul 2026 11:00:15 GMT 16
9.0.6-ci.20260420T201319+sha.d812cc566 1.14 MB Mon, 20 Apr 2026 20:13:56 GMT 40
9.0.6-ci.20260420T164253+sha.44335ccd8 1.14 MB Mon, 20 Apr 2026 16:43:33 GMT 34
9.0.6-ci.20260403T165252+sha.7c0a41936 1.14 MB Fri, 03 Apr 2026 16:53:35 GMT 40
9.0.6-ci.20260312T160512+sha.088462de8 1.14 MB Thu, 12 Mar 2026 16:05:52 GMT 34
9.0.5-ci.20251230T111626+sha.10c40c779 1.14 MB Tue, 30 Dec 2025 11:17:13 GMT 46
9.0.5-ci.20251229T141006+sha.bf3dd9bf6 1.14 MB Mon, 29 Dec 2025 14:10:57 GMT 44
9.0.5-ci.20251223T093205+sha.603024f40 1.14 MB Tue, 23 Dec 2025 09:32:44 GMT 47
9.0.5-ci.20251106T104739+sha.8bb2db23d 1.14 MB Thu, 06 Nov 2025 10:48:17 GMT 66
9.0.5-ci.20251105T142835+sha.04304d6de 1.14 MB Wed, 05 Nov 2025 14:29:14 GMT 82
9.0.5-ci.20251029T164033+sha.22edc2368 1.14 MB Wed, 29 Oct 2025 16:41:25 GMT 87
9.0.5-ci.20251029T151033+sha.cd9a7ab9f 1.14 MB Wed, 29 Oct 2025 15:11:21 GMT 79
9.0.5-ci.20251027T211008+sha.0d526a369 1.14 MB Mon, 27 Oct 2025 21:10:51 GMT 73
9.0.5-ci.20251015T134601+sha.5dfd2e480 1.14 MB Wed, 15 Oct 2025 13:46:43 GMT 94
9.0.5-ci.20251015T132741+sha.3fb85417f 1.14 MB Wed, 15 Oct 2025 13:28:18 GMT 86
9.0.5-ci.20251005T193958+sha.88b6bb211 1.14 MB Sun, 05 Oct 2025 19:40:47 GMT 88
9.0.4-ci.20251005T190702+sha.c7bb8bcb9 1.14 MB Sun, 05 Oct 2025 19:07:51 GMT 93
9.0.4-ci.20251005T190604+sha.3b6c74c50 1.14 MB Sun, 05 Oct 2025 19:06:47 GMT 84
9.0.4-ci.20250910T114117+sha.4d7d09fd5 1.14 MB Wed, 10 Sep 2025 11:42:04 GMT 139
9.0.4-ci.20250820T095924+sha.e2b6731db 1.14 MB Wed, 20 Aug 2025 10:00:10 GMT 123
9.0.4-ci.20250804T141834+sha.48ef26646 1.14 MB Mon, 04 Aug 2025 14:19:11 GMT 133
9.0.4-ci.20250704T144742+sha.8aa2ce82e 1.14 MB Fri, 04 Jul 2025 14:48:32 GMT 149
9.0.4-ci.20250623T121118+sha.f5df84025 1.14 MB Mon, 23 Jun 2025 12:11:58 GMT 144
9.0.4-ci.20250620T103018+sha.9b9ca5533 1.14 MB Fri, 20 Jun 2025 10:30:55 GMT 154
9.0.4-ci.20250603T083114+sha.9b2b2bcb8 1.14 MB Tue, 03 Jun 2025 08:31:53 GMT 124
9.0.4-ci.20250601T105914+sha.7a007d9d0 1.14 MB Sun, 01 Jun 2025 10:59:57 GMT 149