npgsql-vnext - Npgsql 9.0.0-preview.1-ci.20241108T211319+sha.e038010ae

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

PM> Install-Package Npgsql -Version 9.0.0-preview.1-ci.20241108T211319 -Source https://www.myget.org/F/npgsql-vnext/api/v3/index.json

Copy to clipboard

> nuget.exe install Npgsql -Version 9.0.0-preview.1-ci.20241108T211319 -Source https://www.myget.org/F/npgsql-vnext/api/v3/index.json

Copy to clipboard

> dotnet add package Npgsql --version 9.0.0-preview.1-ci.20241108T211319 --source https://www.myget.org/F/npgsql-vnext/api/v3/index.json

Copy to clipboard
<PackageReference Include="Npgsql" Version="9.0.0-preview.1-ci.20241108T211319" />
Copy to clipboard
source https://www.myget.org/F/npgsql-vnext/api/v3/index.json

nuget Npgsql  ~> 9.0.0-preview.1-ci.20241108T211319
Copy to clipboard

> choco install Npgsql --version 9.0.0-preview.1-ci.20241108T211319 --source https://www.myget.org/F/npgsql-vnext/api/v2

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "npgsql-vnext" -SourceLocation "https://www.myget.org/F/npgsql-vnext/api/v2"
Install-Module -Name "Npgsql" -RequiredVersion "9.0.0-preview.1-ci.20241108T211319" -Repository "npgsql-vnext" -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-vnext/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 6.0
    • Microsoft.Extensions.Logging.Abstractions (>= 8.0.2)
    • System.Diagnostics.DiagnosticSource (>= 8.0.1)
    • System.Runtime.CompilerServices.Unsafe (>= 6.0.0)
    • System.Text.Json (>= 8.0.5)
  • .NETFramework 8.0
    • Microsoft.Extensions.Logging.Abstractions (>= 8.0.2)
  • .NETFramework 6.0: 6.0.0.0
  • .NETFramework 8.0: 8.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

Unknown

Tags

npgsql postgresql postgres ado ado.net database sql

Info

246 total downloads
0 downloads for version 9.0.0-preview.1-ci.20241108T211319+sha.e038010ae
Download (1.12 MB)
Download symbols (347.01 KB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
10.0.0-ci.20241120T173506+sha.2b013ed52 586.02 KB Wed, 20 Nov 2024 17:35:35 GMT 0
10.0.0-ci.20241120T163515+sha.a1f1022a7 586.04 KB Wed, 20 Nov 2024 16:35:47 GMT 0
10.0.0-ci.20241120T162625+sha.d60679578 586.01 KB Wed, 20 Nov 2024 16:26:54 GMT 0
10.0.0-ci.20241120T154046+sha.2f0bdd107 585.98 KB Wed, 20 Nov 2024 15:41:18 GMT 0
10.0.0-ci.20241120T104802+sha.b0dde48c5 585.97 KB Wed, 20 Nov 2024 10:48:29 GMT 0
10.0.0-ci.20241119T110305+sha.1d93236d0 1.14 MB Tue, 19 Nov 2024 11:03:42 GMT 0
10.0.0-ci.20241118T151051+sha.94de20fed 1.14 MB Mon, 18 Nov 2024 15:11:26 GMT 0
9.0.0-preview.1-ci.20241112T145756+sha.196f40589 1.13 MB Tue, 12 Nov 2024 14:58:28 GMT 0
9.0.0-preview.1-ci.20241111T090844+sha.d95db6427 1.13 MB Mon, 11 Nov 2024 09:09:23 GMT 0
9.0.0-preview.1-ci.20241110T154550+sha.06f5ba3c9 1.13 MB Sun, 10 Nov 2024 15:46:25 GMT 0
9.0.0-preview.1-ci.20241110T132100+sha.7ef908db1 1.13 MB Sun, 10 Nov 2024 13:21:34 GMT 0
9.0.0-preview.1-ci.20241110T122503+sha.919ed979c 1.13 MB Sun, 10 Nov 2024 12:25:41 GMT 0
9.0.0-preview.1-ci.20241110T115109+sha.4f2785b6c 1.13 MB Sun, 10 Nov 2024 11:51:45 GMT 0
9.0.0-preview.1-ci.20241109T063316+sha.7949c45e2 1.13 MB Sat, 09 Nov 2024 06:33:48 GMT 0
9.0.0-preview.1-ci.20241108T211319+sha.e038010ae 1.12 MB Fri, 08 Nov 2024 21:13:55 GMT 0
9.0.0-preview.1-ci.20241108T195847+sha.91086e54d 1.12 MB Fri, 08 Nov 2024 19:59:23 GMT 0
9.0.0-preview.1-ci.20241030T184440+sha.441c1154e 1.12 MB Wed, 30 Oct 2024 18:45:20 GMT 0
9.0.0-preview.1-ci.20241030T153600+sha.40cc1a170 1.12 MB Wed, 30 Oct 2024 15:36:35 GMT 0
9.0.0-preview.1-ci.20241030T152049+sha.2e568a1f5 1.12 MB Wed, 30 Oct 2024 15:21:31 GMT 0
9.0.0-preview.1-ci.20241028T080028+sha.32fc88f52 1.12 MB Mon, 28 Oct 2024 08:01:02 GMT 3
9.0.0-preview.1-ci.20241025T100626+sha.32eb7097c 1.12 MB Fri, 25 Oct 2024 10:07:05 GMT 3
9.0.0-preview.1-ci.20241021T102850+sha.e6c166ba5 1.12 MB Mon, 21 Oct 2024 10:29:28 GMT 3
9.0.0-preview.1-ci.20241018T102856+sha.c59aee063 1.12 MB Fri, 18 Oct 2024 10:29:31 GMT 3
9.0.0-preview.1-ci.20241017T192946+sha.ec6de9cf1 1.12 MB Thu, 17 Oct 2024 19:30:20 GMT 3
9.0.0-preview.1-ci.20241016T203921+sha.ea56478da 1.12 MB Wed, 16 Oct 2024 20:39:54 GMT 3
9.0.0-preview.1-ci.20241016T145918+sha.d8a690bdf 1.12 MB Wed, 16 Oct 2024 14:59:52 GMT 3
9.0.0-preview.1-ci.20241015T095754+sha.ab8e8db61 1.12 MB Tue, 15 Oct 2024 09:58:31 GMT 3
9.0.0-preview.1-ci.20241014T152536+sha.588b018b7 1.12 MB Mon, 14 Oct 2024 15:26:09 GMT 3
9.0.0-preview.1-ci.20241013T201932+sha.ef09d55c0 1.12 MB Sun, 13 Oct 2024 20:20:10 GMT 22
9.0.0-preview.1-ci.20241013T180745+sha.cd5c96423 1.12 MB Sun, 13 Oct 2024 18:08:21 GMT 3
9.0.0-preview.1-ci.20241013T043747+sha.764bfea6c 1.1 MB Sun, 13 Oct 2024 04:38:24 GMT 4
9.0.0-preview.1-ci.20241013T041837+sha.53b9fa500 1.1 MB Sun, 13 Oct 2024 04:19:12 GMT 3
9.0.0-preview.1-ci.20241012T172335+sha.e433ce1d3 1.1 MB Sat, 12 Oct 2024 17:24:15 GMT 3
9.0.0-preview.1-ci.20241012T065452+sha.9a0f32c62 1.1 MB Sat, 12 Oct 2024 06:55:31 GMT 3
9.0.0-preview.1-ci.20241008T121239+sha.602ef9aa9 1.1 MB Tue, 08 Oct 2024 12:13:17 GMT 4
9.0.0-preview.1-ci.20241007T191451+sha.7062c5cb3 1.1 MB Mon, 07 Oct 2024 19:15:28 GMT 3
9.0.0-preview.1-ci.20241007T191317+sha.39e38fd1d 1.1 MB Mon, 07 Oct 2024 19:13:59 GMT 3
9.0.0-preview.1-ci.20240927T160325+sha.036bfc461 1.1 MB Fri, 27 Sep 2024 16:04:14 GMT 41
9.0.0-preview.1-ci.20240925T143209+sha.9ca526b85 1.1 MB Wed, 25 Sep 2024 14:32:48 GMT 4
9.0.0-preview.1-ci.20240925T101313+sha.7de5d7114 1.1 MB Wed, 25 Sep 2024 10:14:18 GMT 4
9.0.0-preview.1-ci.20240913T160017+sha.6faa690b2 1.1 MB Fri, 13 Sep 2024 16:00:56 GMT 82
9.0.0-preview.1-ci.20240910T140933+sha.8473d729e 1.1 MB Tue, 10 Sep 2024 14:10:07 GMT 12
9.0.0-preview.1-ci.20240910T133531+sha.6c867d8f4 1.1 MB Tue, 10 Sep 2024 13:36:09 GMT 3
9.0.0-preview.1-ci.20240905T104756+sha.3fce77d7c 1.1 MB Thu, 05 Sep 2024 10:48:38 GMT 3
9.0.0-preview.1-ci.20240904T175113+sha.28d41bf3f 1.1 MB Wed, 04 Sep 2024 17:51:55 GMT 3
9.0.0-preview.1-ci.20240901T091157+sha.c3b31c393 1.1 MB Sun, 01 Sep 2024 09:12:30 GMT 3
9.0.0-preview.1-ci.20240726T141743+sha.04de96873 1.1 MB Fri, 26 Jul 2024 14:18:21 GMT 4
9.0.0-preview.1-ci.20240711T172046+sha.30ba2ddd6 1.1 MB Thu, 11 Jul 2024 17:21:33 GMT 4
9.0.0-preview.1-ci.20240711T171135+sha.a9bfb4a07 1.1 MB Thu, 11 Jul 2024 17:12:16 GMT 4
9.0.0-preview.1-ci.20240708T132657+sha.3cb15adef 1.1 MB Mon, 08 Jul 2024 13:27:41 GMT 4