Refactor status detection for XLOG segment file in xlogarchive.c (Was: *FF WALs under 9.2)

Started by Michael Paquierover 11 years ago1 messageshackers
Jump to latest
#1Michael Paquier
michael@paquier.xyz

Hi all,

Except if I am missing something, is there any reason why the sequence used
in XLogArchiveCheckDone and XLogArchiveIsBusy to check if a XLOG segment
has been already archived is duplicated? I guess that doing a little bit of
refactoring here would make sense for simplicity, patch is attached.
Regards,
--
Michael

Attachments:

20141020_refactor_xlogarchive_done.patchtext/x-patch; charset=US-ASCII; name=20141020_refactor_xlogarchive_done.patchDownload+27-25