
Npgsql is an open source ADO.NET Data Provider for PostgreSQL, it allows programs written in C#, Visual Basic, F# to access the PostgreSQL database server. It allows any program developed for .NET framework to access database server. It is implemented in 100% C# code. This package works with PostgreSQL 9.x and above.
v3.0 [Jan 12, 2016]
Npgsql 3.0.5 is out and available at nuget.org.
This release that could affect users setting MinPoolSize > 1. See issue #918.
Also, when closing a pooled connection that had an active transaction, that transaction would not be rolled back immediately. This could cause issues and has been fixed - transactions are rolled back immediately upon close. See issue #927.
Note that NpgsqlConnection’s DataSource property now returns a URL (e.g. tcp://localhost:5432). Code that relied on the contents of DataSource is probably now broken. See issue #903.
Npgsql 2.2 had a Windows installer that would set up Npgsql in the GAC and update your machine.config file - this installer has been revived and will now be released with 3.x version (check our releases tab on Github. Note that in most use cases, Npgsql should not be installed into the GAC - use Nuget instead.