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

From Jeff Davis
Subject Re: Patch for fail-back without fresh backup
Date
Msg-id 1371321414.12191.2.camel@jdavis
Whole thread Raw
In response to Re: Patch for fail-back without fresh backup  (Andres Freund <andres@2ndquadrant.com>)
Responses Re: Patch for fail-back without fresh backup
List pgsql-hackers
On Fri, 2013-06-14 at 18:27 +0200, Andres Freund wrote:
> I'd like to see a comment around the memcpys in XLogSaveBufferForHint()
> that mentions that they are safe in a non std buffer due to
> XLogCheckBuffer setting an appropriate hole/offset. Or make an explicit
> change of the copy algorithm there.

Done.

> Btw, if you touch that code, I'd vote for renaming XLOG_HINT to XLOG_FPI
> or something like that. I find the former name confusing...

Also done.

Patch attached. Also, since we branched, I think this should be
back-patched to 9.3 as well.

Regards,
    Jeff Davis


Attachment

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: [PATCH] Remove useless USE_PGXS support in contrib
Next
From: Joe Conway
Date:
Subject: Re: [PATCH] Remove useless USE_PGXS support in contrib