Re: Patch for fail-back without fresh backup

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Patch for fail-back without fresh backup
Дата
Msg-id 20131121224334.GI27838@alap2.anarazel.de
обсуждение исходный текст
Ответ на Re: Patch for fail-back without fresh backup  (Jeff Janes <jeff.janes@gmail.com>)
Ответы Re: Patch for fail-back without fresh backup  (Bruce Momjian <bruce@momjian.us>)
Re: Patch for fail-back without fresh backup  (Jeff Janes <jeff.janes@gmail.com>)
Список pgsql-hackers
On 2013-11-21 14:40:36 -0800, Jeff Janes wrote:
> But if the transaction would not have otherwise generated WAL (i.e. a
> select that did not have to do any HOT pruning, or an update with zero rows
> matching the where condition), doesn't it now have to flush and wait when
> it would otherwise not?

We short circuit that if there's no xid assigned. Check
RecordTransactionCommit().

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



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

Предыдущее
От: Jeff Janes
Дата:
Сообщение: Re: Patch for fail-back without fresh backup
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: WIP patch for updatable security barrier views