Re: autonomous transactions

Поиск
Список
Период
Сортировка
От Jaime Casanova
Тема Re: autonomous transactions
Дата
Msg-id CAJGNTeNCD1DgtG2KE_YsbCJbeBipLdFXZFHDYMUog7E+KO4T_w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: autonomous transactions  (Joel Jacobson <joel@trustly.com>)
Ответы Re: autonomous transactions  (Joel Jacobson <joel@trustly.com>)
Список pgsql-hackers
On 30 August 2016 at 23:10, Joel Jacobson <joel@trustly.com> wrote:
>
> There should be a way to within the session and/or txn permanently
> block autonomous transactions.
>

This will defeat one of the use cases of autonomous transactions: auditing

>
> Coding conventions, rules and discipline are all good and will help
> against misuse of the feature, but some day someone will make a
> mistake and wrongly use the autonomous transaction and cause unwanted
> unknown side-effect I as a caller function didn't expect or know
> about.
>

well, if the feature is not guilty why do you want to put it in jail?

-- 
Jaime Casanova                      www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: ICU integration
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: standalone backend PANICs during recovery