Re: Change pg_cancel_*() to ignore current backend

Поиск
Список
Период
Сортировка
От Jon Nelson
Тема Re: Change pg_cancel_*() to ignore current backend
Дата
Msg-id CAKuK5J2eodxtrysHqV=2ebFGTVCnpBT8jdxtTV2A_7AzGBBLLw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Change pg_cancel_*() to ignore current backend  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Change pg_cancel_*() to ignore current backend  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Список pgsql-hackers
On Wed, May 20, 2015 at 9:09 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> I think backwards compatibility probably trumps that argument.  I have
> no objection to providing a different call that behaves this way, but
> changing the behavior of existing applications will face a *much*
> higher barrier to acceptance.  Especially since a real use-case for
> the current behavior was shown upthread, which means you can't argue
> that it's simply a bug.
>
>                         regards, tom lane


Agree.
It breaks backwards compatibility. I use this function a fair bit to
terminate the current backend all the time.

-- 
Jon



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Run pgindent now?
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: Problems with question marks in operators (JDBC, ECPG, ...)