On Sat, Oct 17, 2015 at 11:10 PM, Michael Paquier
<michael.paquier@gmail.com>wrote:
> I think that a simple idea would be to not call LogStandbySnapshot() when
> we are still at the beginning of a new segment. We know that the first page
> of a WAL segment has a size of SizeOfXLogLongPHD, so just having a check on
> that sounds enough to me. Per se the patch attached that should be applied
> down to 9.4. This fixes the regression reported by Laurence for me.
>
This bug fix is registered in next CF so as we do not lose track of it;
https://commitfest.postgresql.org/7/398/
--
Michael