Skip to content

Commit 0bb2085

Browse files
alvherreavamingli
authored andcommitted
Fix uninitialized value in segno calculation
Remove previous hack in KeepLogSeg that added a case to deal with a (badly represented) invalid segment number. This was added for the sake of GetWALAvailability. But it's not needed if in that function we initialize the segment number to be retreated to the currently being written segment, so do that instead. Per valgrind-running buildfarm member skink, and some sparc64 animals. Discussion: https://postgr.es/m/[email protected] (cherry picked from commit 794e8e32bb5ae1b38a90cbae2a88895633797599)
1 parent 6828e23 commit 0bb2085

File tree

0 file changed

+0
-0
lines changed

    0 file changed

    +0
    -0
    lines changed

    0 commit comments

    Comments
     (0)