Re: 9.3 pg_archivecleanup broken? - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: 9.3 pg_archivecleanup broken?
Date
Msg-id 50A9EBE5.3010306@vmware.com
Whole thread Raw
In response to Re: 9.3 pg_archivecleanup broken?  (Fujii Masao <masao.fujii@gmail.com>)
List pgsql-hackers
On 19.11.2012 02:17, Fujii Masao wrote:
> This bug is derived from the commit d5497b95f3ca2fc50c6eef46d3394ab6e6855956.
> This commit changed ExecuteRecoveryCommand() so that it calculates the
> the last valid
> retart file by using GetOldestRestartPoint(), even though
> GetOldestRestartPoint() only
> works in the startup process and only while WAL replay is in progress
> (i.e., InRedo = true).
> In archive_cleanup_command, ExecuteRecoveryCommand() is executed by the
> checkpointer process, so the problem happened.

Fixed. Thanks for the diagnosis!

- Heikki



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: logical changeset generation v3
Next
From: Pavel Stehule
Date:
Subject: Re: gset updated patch