| From: | fxjr(at)pgfoundry(dot)org (User Fxjr) |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | npgsql - Npgsql2: [#1010986] Endless recursion on hanging connection in |
| Date: | 2011-03-15 01:06:20 |
| Message-ID: | 20110315010620.B7BAD1071022@pgfoundry.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Log Message:
-----------
[#1010986] Endless recursion on hanging connection in ProcessBackendResponsesEnum. Thanks Gildas for feedback and tests.
Also added a better check in NpgsqlConnector.IsValid(). Now it generates a random number and checks the select return value to see if everything is ok. Should fix problems where Npgsql was returning connectors in wrong state.
Modified Files:
--------------
Npgsql2/src/Npgsql:
NpgsqlConnector.cs (r1.32 -> r1.33)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/Npgsql/NpgsqlConnector.cs?r1=1.32&r2=1.33)
NpgsqlState.cs (r1.22 -> r1.23)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/Npgsql/NpgsqlState.cs?r1=1.22&r2=1.23)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | User Fxjr | 2011-03-15 01:25:20 | npgsql - Npgsql2: [#1010997] Consider using System.Threading.Timer |
| Previous Message | User Hinoue | 2011-03-14 21:49:52 | psqlodbc - psqlodbc: Fix the bug that Access autonumber fields are not |