npgsql - Npgsql2: Exception when closing connection.

From: fxjr(at)pgfoundry(dot)org (User Fxjr)
To: pgsql-committers(at)postgresql(dot)org
Subject: npgsql - Npgsql2: Exception when closing connection.
Date: 2011-02-22 01:17:38
Message-ID: 20110222011738.E0B2A1071014@pgfoundry.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------

Exception when closing connection. If your connection is in the Ready state and the stream is actually broken NpgsqlReadyState.Close will throw an exception when trying to write to the stream. More info can be found at: http://pgfoundry.org/forum/forum.php?thread_id=10066&forum_id=519
Thanks David Leaver for the patch.

Modified Files:
--------------
Npgsql2/src/Npgsql:
NpgsqlReadyState.cs (r1.5 -> r1.6)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/Npgsql/NpgsqlReadyState.cs?r1=1.5&r2=1.6)

Browse pgsql-committers by date

  From Date Subject
Next Message User Fxjr 2011-02-22 01:30:04 npgsql - Npgsql2: NpgsqlConnector.CancelRequest leaks Connector.
Previous Message Bruce Momjian 2011-02-22 01:14:31 pgsql: Move information_schema duplicate constraint note to the top of