pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Simon Riggs <simon@2ndQuadrant.com>
To: pgsql-committers@postgresql.org
Subject: pgsql: Remove secondary checkpoint
Date: Tue, 07 Nov 2017 17:57:31 +0000
Message-ID: <E1eC87v-0008E6-Ih@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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@2ndQuadrant.com>
Reviewed-by: Michael Paquier <michael.paquier@gmail.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(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


view thread (13+ messages)  latest in thread

Message-ID: <E1eC87v-0008E6-Ih@gemulon.postgresql.org>
Permalink:  ../E1eC87v-0008E6-Ih@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1eC87v-0008E6-Ih@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: simon@2ndQuadrant.com
  Subject: Re: pgsql: Remove secondary checkpoint
  In-Reply-To: <E1eC87v-0008E6-Ih@gemulon.postgresql.org>
  References: <E1eC87v-0008E6-Ih@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox