pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sergei Kornilov <sk@zsrv.org>
To: Raghavendra Rao J S V <raghavendrajsv@gmail.com>
Cc: David G. Johnston <david.g.johnston@gmail.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #14963: Number of wal files are keep on increasing
Date: Tue, 12 Dec 2017 12:44:48 +0300
Message-ID: <1040281513071888@web2o.yandex.ru> (raw)
In-Reply-To: <CAEHH7R7=fuZXxMeAa-x_4-3P8Z95=BbkDP-LSam1r2RwsYZ2dQ@mail.gmail.com>
References: <20171211141858.20143.74069@wrigleys.postgresql.org>
	<CAKFQuwawUOnNGRXdJGX5dgQ71hdY8MAfxzPW=1deJ1z8FS=u5Q@mail.gmail.com>
	<CAEHH7R7vxmAQjBYz89uVr76HsFLiXC8P2EHU4_+7mr1f4Qfa_A@mail.gmail.com>
	<1376951513064692@web55o.yandex.ru>
	<CAEHH7R7=fuZXxMeAa-x_4-3P8Z95=BbkDP-LSam1r2RwsYZ2dQ@mail.gmail.com>

Hello
Empty archive_command with archive_mode = on prohibits purge old WAL.
If you will use archive_mode - you must provide correct command in archive_command (change archive_command need only reload). Documentation can be found here: https://www.postgresql.org/docs/current/static/continuous-archiving.html#BACKUP-ARCHIVING-WAL
Otherwise you must disable archive_mode (need restart) or use archive_command with any command returning 0. For example archive_command = '/bin/true'. This is useful if you wish enable WAL archiving later without restart postgresql.

regards, Sergei




view thread (12+ messages)  latest in thread

Message-ID: <1040281513071888@web2o.yandex.ru>
Permalink:  ../1040281513071888@web2o.yandex.ru/
Also on:    postgresql.org/message-id/1040281513071888@web2o.yandex.ru

 · 

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-bugs@postgresql.org
  Cc: sk@zsrv.org, raghavendrajsv@gmail.com, david.g.johnston@gmail.com
  Subject: Re: BUG #14963: Number of wal files are keep on increasing
  In-Reply-To: <1040281513071888@web2o.yandex.ru>
  References: <20171211141858.20143.74069@wrigleys.postgresql.org> <CAKFQuwawUOnNGRXdJGX5dgQ71hdY8MAfxzPW=1deJ1z8FS=u5Q@mail.gmail.com> <CAEHH7R7vxmAQjBYz89uVr76HsFLiXC8P2EHU4_+7mr1f4Qfa_A@mail.gmail.com> <1376951513064692@web55o.yandex.ru> <CAEHH7R7=fuZXxMeAa-x_4-3P8Z95=BbkDP-LSam1r2RwsYZ2dQ@mail.gmail.com> <1040281513071888@web2o.yandex.ru>

* 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