aboutsummaryrefslogtreecommitdiff
path: root/src/backend/jit/llvm/llvmjit_inline.cpp
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2018-07-24 10:33:07 +0900
committerMichael Paquier <michael@paquier.xyz>2018-07-24 10:33:07 +0900
commit9915735ebbc5c5362f5834f6ad7b86394ded4a85 (patch)
tree7aa4844ea04c791821bcd45126284776aba57d46 /src/backend/jit/llvm/llvmjit_inline.cpp
parent14ca287bcf329b26a6a8041ba69cc12332aba22c (diff)
downloadpostgresql-9915735ebbc5c5362f5834f6ad7b86394ded4a85.tar.gz
postgresql-9915735ebbc5c5362f5834f6ad7b86394ded4a85.zip
Fix calculation for WAL segment recycling and removal
Commit 4b0d28de06 has removed the prior checkpoint and related facilities but has left WAL recycling based on the LSN of the prior checkpoint, which causes incorrect calculations for WAL removal and recycling for max_wal_size and min_wal_size. This commit changes things so as the base calculation point is the last checkpoint generated. Reported-by: Kyotaro Horiguchi Author: Kyotaro Horiguchi Reviewed-by: Michael Paquier Discussion: https://postgr.es/m/20180723.135748.42558387.horiguchi.kyotaro@lab.ntt.co.jp Backpatch: 11-, where the prior checkpoint has been removed.
Diffstat (limited to 'src/backend/jit/llvm/llvmjit_inline.cpp')
0 files changed, 0 insertions, 0 deletions