Re: XLog: how to log?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: XLog: how to log?
Дата
Msg-id 15571.1084312412@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: XLog: how to log?  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
Список pgsql-hackers
Alvaro Herrera <alvherre@dcc.uchile.cl> writes:
> Both xact commit and abort have timestamps in the XLog.  I think valid
> recovery points are transaction commit/abort, not transaction start.

A transaction abort cannot be an interesting stop point either; you may
as well stop at the latest preceding commit.  Whatever the aborted
transaction did need not be entered into the database.

The abort record timestamps may be useful for navigation (to help
determine where you want to stop) but AFAICS only main transaction
commit records are useful stopping points.
        regards, tom lane


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

Предыдущее
От: Gaetano Mendola
Дата:
Сообщение: invalid memory alloc request size 0
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: XLog: how to log?