Skip to content


Subversion checkout URL

You can clone with
Download ZIP
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.
C# SQLPL Perl6 Other

Fix overflow when opening/closing same connection many times

Connector has a private _pendingRfqPrependedMessages which tracks the number
of currently prepended messages which expect an RFQ response. By simply
opening and closing the connection many times, it was possible to overflow
this field (each connector reset prepends a DISCARD ALL).

We now clear any pending messages when resetting the connector.

Fixes #736
latest commit 5935e8fd5c
@roji roji authored

Npgsql - .NET Data Provider for PostgreSQL

Stable nuget Unstable nuget Build Status Join the chat at

What Is Npgsql?

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

For any additional information, please visit the Npgsql website at

Something went wrong with that request. Please try again.