Re: Change pg_cancel_*() to ignore current backend

Поиск
Список
Период
Сортировка
От Marko Tiikkaja
Тема Re: Change pg_cancel_*() to ignore current backend
Дата
Msg-id 555BC5E1.8090900@joh.to
обсуждение исходный текст
Ответ на Change pg_cancel_*() to ignore current backend  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Ответы Re: Change pg_cancel_*() to ignore current backend  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-hackers
On 2015-05-20 00:59, Jim Nasby wrote:
> I find it annoying to have to specifically exclude pg_backend_pid() from
> pg_stat_activity if I'm trying to kill a bunch of backends at once, and
> I can't think of any reason why you'd ever want to call a pg_cancel_*
> function with your own PID.

That's a rather easy way of testing that you're handling FATAL errors 
correctly from a driver/whatever.


.m



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

Предыдущее
От: Jan de Visser
Дата:
Сообщение: Re: Problems with question marks in operators (JDBC, ECPG, ...)
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: Change pg_cancel_*() to ignore current backend