aboutsummaryrefslogtreecommitdiff
path: root/src/backend/jit/llvm/llvmjit_expr.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2021-07-26 22:38:15 -0400
committerBruce Momjian <bruce@momjian.us>2021-07-26 22:38:15 -0400
commit74cf7d46a91d601e0f8d957a7edbaeeb7df83efc (patch)
treed39d0b0cd9b4b817e7ab7be03082509aede1f95f /src/backend/jit/llvm/llvmjit_expr.c
parent24ba1a87e4056ec34c8a685633a1a14fb89e5700 (diff)
downloadpostgresql-74cf7d46a91d601e0f8d957a7edbaeeb7df83efc.tar.gz
postgresql-74cf7d46a91d601e0f8d957a7edbaeeb7df83efc.zip
pg_resetxlog: add option to set oldest xid & use by pg_upgrade
Add pg_resetxlog -u option to set the oldest xid in pg_control. Previously -x set this value be -2 billion less than the -x value. However, this causes the server to immediately scan all relation's relfrozenxid so it can advance pg_control's oldest xid to be inside the autovacuum_freeze_max_age range, which is inefficient and might disrupt diagnostic recovery. pg_upgrade will use this option to better create the new cluster to match the old cluster. Reported-by: Jason Harvey, Floris Van Nee Discussion: https://postgr.es/m/20190615183759.GB239428@rfd.leadboat.com, 87da83168c644fd9aae38f546cc70295@opammb0562.comp.optiver.com Author: Bertrand Drouvot Backpatch-through: 9.6
Diffstat (limited to 'src/backend/jit/llvm/llvmjit_expr.c')
0 files changed, 0 insertions, 0 deletions