pgsql: Fix uninitialized value in segno calculation

2020-07-13 Thread Alvaro Herrera
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

pgsql: Fix uninitialized value in segno calculation

2020-07-13 Thread Alvaro Herrera
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