Re: Change pg_cancel_*() to ignore current backend

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Change pg_cancel_*() to ignore current backend
Дата
Msg-id 5631.1432130957@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Change pg_cancel_*() to ignore current backend  (David Steele <david@pgmasters.net>)
Ответы Re: Change pg_cancel_*() to ignore current backend  (David Steele <david@pgmasters.net>)
Re: Change pg_cancel_*() to ignore current backend  (Jon Nelson <jnelson+pgsql@jamponi.net>)
Список pgsql-hackers
David Steele <david@pgmasters.net> writes:
> +1.  I agree that cancelling/killing your own process should not be the
> default behavior.

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



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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: [PATCH] Generalized JSON output functions
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: POC: Cache data in GetSnapshotData()