| From: | Heikki Linnakangas <hlinnakangas(at)vmware(dot)com> |
|---|---|
| To: | Fujii Masao <masao(dot)fujii(at)gmail(dot)com> |
| Cc: | Erik Rijkers <er(at)xs4all(dot)nl>, pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: 9.3 pg_archivecleanup broken? |
| Date: | 2012-11-19 08:20:53 |
| Message-ID: | 50A9EBE5.3010306@vmware.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Pavel Stehule | 2012-11-19 08:30:49 | Re: gset updated patch |
| Previous Message | Michael Paquier | 2012-11-19 07:28:55 | Re: logical changeset generation v3 |