Re: Patch for fail-back without fresh backup - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Patch for fail-back without fresh backup
Date
Msg-id 20131121224334.GI27838@alap2.anarazel.de
Whole thread Raw
In response to Re: Patch for fail-back without fresh backup  (Jeff Janes <jeff.janes@gmail.com>)
Responses 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>)
List 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 by date:

Previous
From: Jeff Janes
Date:
Subject: Re: Patch for fail-back without fresh backup
Next
From: Craig Ringer
Date:
Subject: Re: WIP patch for updatable security barrier views