| From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
|---|---|
| To: | Jeff Davis <pgsql(at)j-davis(dot)com> |
| Cc: | Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, pgsql-bugs(at)postgresql(dot)org |
| Subject: | Re: Recovery bug |
| Date: | 2010-10-18 21:51:18 |
| Message-ID: | AANLkTini761KUSddaYeYURaU-OcEvRx+uEH1N9NF5Yho@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
On Mon, Oct 18, 2010 at 2:07 PM, Jeff Davis <pgsql(at)j-davis(dot)com> wrote:
> On Mon, 2010-10-18 at 17:02 +0900, Fujii Masao wrote:
>> Yep, to automatically delete backup_label and continue recovery seems to be
>> dangerous. How about just emitting FATAL error when neither restore_command
>> nor primary_conninfo is supplied and backup_label exists? This seems to be
>> simpler than your proposed patch (i.e., check whether REDO location exists).
>>
>
> Either is fine with me.
>
> Do users have any expectation that they can restore a backup without
> using recovery.conf by merely having the WAL segments in pg_xlog?
I would expect that to work.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jeff Davis | 2010-10-18 22:00:41 | Re: Recovery bug |
| Previous Message | Robert Haas | 2010-10-18 21:47:15 | Re: How do I remove PostgreSQL completely? |