Re: [PATCH] Hooks at XactCommand level

Поиск
Список
Период
Сортировка
От Gilles Darold
Тема Re: [PATCH] Hooks at XactCommand level
Дата
Msg-id de32a223-285f-2c9e-9f99-9d3111d49fd4@darold.net
обсуждение исходный текст
Ответ на Re: [PATCH] Hooks at XactCommand level  (Gilles Darold <gilles@darold.net>)
Список pgsql-hackers
I have changed the status of this proposal as rejected.


To resume the final state of this proposal there is no consensus on the
interest to add a hook on start xact commands. Also the only useful case
for this hook was to be able to have a server side automatic rollback at
statement level. It can be regrettable because I don't think that
PostgreSQL will have such feature before a long time (that's probably
better) and a way to external implementation through an extension would
be helpful for migration from other RDBMS like DB2 or Oracle. The only
ways to have this feature is to handle the rollback at client side using
savepoint, which is at least 3 times slower than a server side
implementation, or not use such implementation at all. Outside not being
performant it doesn't scale due to txid wraparound. And the last way is
to use a proprietary forks of PostgreSQL, some are proposing this  feature.

--
Gilles Darold
http://www.darold.net/





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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: using an end-of-recovery record in all cases
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Postgres perl module namespace