summaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.source
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2020-07-13 13:49:50 -0400
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2020-07-13 13:49:50 -0400
commit794e8e32bb5ae1b38a90cbae2a88895633797599 (patch)
tree786a3033c5ce0df89a139467bb35a2f0af4b9b17 /src/tutorial/funcs.source
parent8e6f134a9a8db52cbd2818ce8a60b9e5cdadfc8f (diff)
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/1724648.1594230917@sss.pgh.pa.us
Diffstat (limited to 'src/tutorial/funcs.source')
0 files changed, 0 insertions, 0 deletions