pgsql: Remove secondary checkpoint

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Remove secondary checkpoint
Date: 2017-11-07 17:57:31
Message-ID: E1eC87v-0008E6-Ih@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove secondary checkpoint

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

Bumps PG_CONTROL_VERSION

Author: Simon Riggs <simon(at)2ndQuadrant(dot)com>
Reviewed-by: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4b0d28de06b28e57c540fca458e4853854fbeaf8

Modified Files
--------------
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(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2017-11-07 18:01:16 Re: pgsql: Remove secondary checkpoint
Previous Message Simon Riggs 2017-11-07 17:32:27 pgsql: Exclude pg_internal.init from BASE_BACKUP