Re: Query cancel seems to be broken in master since Oct 17

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Query cancel seems to be broken in master since Oct 17
Дата
Msg-id CABUevEwP3uf_E4gWa6WqG9wKcNiAgoNyBh6ycQEyxt8z6ZT5sQ@mail.gmail.com
обсуждение исходный текст
Ответ на Query cancel seems to be broken in master since Oct 17  (Vladimir Sitnikov <sitnikov.vladimir@gmail.com>)
Ответы Re: Query cancel seems to be broken in master since Oct 17  (Vladimir Gordiychuk <folyga@gmail.com>)
Re: Query cancel seems to be broken in master since Oct 17  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers


On Tue, Oct 18, 2016 at 1:00 AM, Vladimir Sitnikov <sitnikov.vladimir@gmail.com> wrote:
Hi,

In pgjdbc we have regular regression testing against "build from master" PostgreSQL, and recent master builds fail for "statement cancel" test.

The PostgreSQL as of Mon Oct 17 00:09:39 UTC 2016 was fine, then "statement cancel" started to fail.
The test executes "select pg_sleep(10)" and tries to cancel it. In recent master builds, cancel seems to be ignored, and the statement lasts for 10 seconds.

Exactly the same driver and test version works fine for 8.4, 9.1, 9.2, 9.3, 9.4, 9.5, and 9.6:

Any hints what could be the issue?
Was the breakage intentional?



That's certainly not intended to break things, but that was changed on Oct 17 and it relates to cancel keys.

What platform does the postgres server run on? Can can you check if query cancel works on libpq or if it's completely broken? 


--

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

Предыдущее
От: Vladimir Sitnikov
Дата:
Сообщение: Query cancel seems to be broken in master since Oct 17
Следующее
От: Shay Rojansky
Дата:
Сообщение: Re: Batches, error handling and transaction in the protocol