Remove secondary checkpoint

Enterprise / PostgreSQL - Simon Riggs [2ndQuadrant.com] - 7 November 2017 17:56 EST

Previously server reserved WAL for last two checkpoints, which used too much disk space for small servers.

Bumps PG_CONTROL_VERSION

Author: Simon Riggs

4b0d28de06 Remove secondary checkpoint
doc/src/sgml/backup.sgml | 2 +-
doc/src/sgml/func.sgml | 5 --
src/backend/access/transam/xlog.c | 93 ++++++++-------------------------
src/backend/utils/misc/pg_controldata.c | 79 +++++++++++++---------------
src/bin/pg_controldata/pg_controldata.c | 3 --
src/bin/pg_resetwal/pg_resetwal.c | 1 -
src/include/catalog/pg_control.h | 3 +-
src/include/catalog/pg_proc.h | 2 +-
8 files changed, 62 insertions(+), 126 deletions(-)

Upstream: git.postgresql.org


  • Share