Npgsql

.NET Data Provider for PostgreSQL

About Npgsql

Npgsql is the .NET data provider for PostgreSQL. It allows any program developed for .NET framework to access a PostgreSQL database server. It is implemented in 100% C# code. PostgreSQL versions since 9.0 are officially supported, others may work. Read more...

Latest News

  • Npgsql 3.1.8 and Npgsql EFCore 1.0.2 are out

    Npgsql 3.1.8 and the Entity Framework Core 1.0.2 have been released and are available on nuget.org.

    Npgsql 3.1.8 contains two important deadlock fixes that could occur when performing synchronous operations on the thread pool, one which caused thread pool exhaustion when opening (#1232) and another with multistatement commands (#1256).

    In addition, some performance optimizations have been made which should make pooled connection open work much faster.

    The complete list of issues is here.

    The Npgsql.EntityFrameworkCore.PostgreSQL 1.0.2 fixes some issues and depends on the latest versions of Entity Framework Core and Npgsql.

    The complete list of issues is here.

  • Npgsql 3.1.7

    Npgsql 3.1.7 has been released and is available on nuget.org.

    The complete list of issues is here.

  • Npgsql 3.1.6 and Npgsql EF6 3.1.1 are out

    Npgsql 3.1.6 and the Entity Framework Core 3.1.6 have been released and are available on nuget.org.

    Npgsql 3.1.6 is a minor bug release that mainly fixes the incorrect nuget ID accidentally published in 3.1.5 (npgsql instead of Npgsql). The complete list of issues is here.

    EF6.Npgsql 3.1.1 is a fix for #27, which broke some complex queries (mainly inheritance-related).

  • Npgsql 3.1.5 and Npgsql EFCore 1.0.0 are out

    Npgsql 3.1.5 and the Entity Framework Core 1.0.0 have been released and are available on nuget.org.

    Both versions target .NET Core RTM (1.0.0), which was released a few days ago. This is the EFCore provider’s first stable release, although it probably hasn’t been battle-tested yet - please report all issues on the EFCore provider repo. To get started, follow the instructions in the EFCore docs. You can also find some info on Npgsql-specific features and unsupported features on the Npgsql EFCore page.

    The complete list of issues for Npgsql 3.1.5 is here.

  • Npgsql 3.1.4 and 3.0.8

    Npgsql 3.1.4 and 3.0.8 have been released and are available on nuget.org.

    3.1.4 mainly fixes some more cases of missing ConfigureAwait(false) which could cause deadlocks, you are strongly encouraged to upgrade, especially if you use the async APIs.

    3.0.8 is an important update in the 3.0.x line. You should definitely upgrade to 3.1.x, but if for some reason you can’t 3.0.8 fixes quite a few bugs.

    Also, I’m away on a pretty intensive 5-month and won’t be able to invest as much time in Npgsql as I could recently. I’ll do my best to solve bugs but work on 3.2 probably won’t start before November. Please be patient :)

    The complete list of issues for 3.1.4 is here. The complete list of issues for 3.0.8 is here.

Click here for older announcements