npgsql - Npgsql2: [#1011310] Command timeouts after the first are not

Поиск
Список
Период
Сортировка
От fxjr@cvs.pgfoundry.org
Тема npgsql - Npgsql2: [#1011310] Command timeouts after the first are not
Дата
Msg-id 201302271306.r1RD6ehL007398@cvs.pgfoundry.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------

[#1011310] Command timeouts after the first are not handled. Applied patch [#1011311]. Thank you, Evan Martin, for bug
reportand patch! 

When a command inside a transaction times out the caller may roll back to a savepoint and try again. This works OK the
firsttime. The second time it appears to work, but the rollback takes a long time. On the third attempt the command
returnsan empty result set. The attached console app reproduces the problem. On investigation, it appears that Npgsql
isnot cancelling any command after the first, once NpgsqlConnector.CancelRequestCalled is true. 

Modified Files:
--------------
    Npgsql2/src/Npgsql:
        NpgsqlConnector.cs (r1.39 -> r1.40)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/Npgsql/NpgsqlConnector.cs?r1=1.39&r2=1.40)
        NpgsqlReadyState.cs (r1.6 -> r1.7)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/Npgsql/NpgsqlReadyState.cs?r1=1.6&r2=1.7)
        NpgsqlState.cs (r1.24 -> r1.25)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/Npgsql/NpgsqlState.cs?r1=1.24&r2=1.25)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Thom Brown
Дата:
Сообщение: Re: pgsql: Fix pg_dumpall with database names containing =
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Add missing error check in regexp parser.