Re: Exposing the Xact commit order to the user

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Exposing the Xact commit order to the user
Дата
Msg-id 4BFD57AB.3060306@enterprisedb.com
обсуждение исходный текст
Ответ на Re: Exposing the Xact commit order to the user  (Jan Wieck <JanWieck@Yahoo.com>)
Ответы Re: Exposing the Xact commit order to the user  (Jan Wieck <JanWieck@Yahoo.com>)
Список pgsql-hackers
Could you generate the commit-order log by simply registering a commit 
hook (RegisterXactCallback(XACT_EVENT_COMMIT)) that writes such a log 
somewhere in the data directory? That would work with older versions 
too, no server changes required.

It would not get called during recovery, but I believe that would be 
sufficient for Slony. You could always batch commits that you don't know 
when they committed as if they committed simultaneously.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Synchronization levels in SR
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Synchronization levels in SR