From: Alvaro Herrera <alvherre@commandprompt.com>
To: Evan Rempel <erempel@uvic.ca>
Cc: pgsql-admin@postgresql.org
Subject: Re: WAL rotation question version 8.3.0
Date: Thu, 15 May 2008 17:13:53 -0400
Message-ID: <20080515211353.GO8221@alvh.no-ip.org> (raw)
In-Reply-To: <482CA173.7020204@uvic.ca>
References: <482CA173.7020204@uvic.ca>
Evan Rempel wrote:
> Now to the question.
>
> Once the archive_command starts lying about its success, postgresql deletes
> a number of the xlog files that it has been told have been successfuly archived.
> Why does it do this? Can I control it? Can I turn it off?
Because they're no longer needed.
If you want to keep those files, make the archive_command not lie.
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: alvherre@commandprompt.com, erempel@uvic.ca
Subject: Re: WAL rotation question version 8.3.0
In-Reply-To: <20080515211353.GO8221@alvh.no-ip.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