Re: Queries about PostgreSQL PITR - Mailing list pgsql-general

From Fujii Masao
Subject Re: Queries about PostgreSQL PITR
Date
Msg-id AANLkTinELWs84rEou9PMt7ii6xhRRK-NUkeHXBBPle5T@mail.gmail.com
Whole thread Raw
In response to Queries about PostgreSQL PITR  (Jayadevan M <Jayadevan.Maymala@ibsplc.com>)
Responses Re: Queries about PostgreSQL PITR  (Jayadevan M <Jayadevan.Maymala@ibsplc.com>)
List pgsql-general
On Fri, Jul 9, 2010 at 6:47 PM, Jayadevan M
<Jayadevan.Maymala@ibsplc.com> wrote:
> So recovery happened to a point after I dropped the first table and before
> I dropped
> the second table. Why ?

Because you didn't disable recovery_target_inclusive, I guess.
http://www.postgresql.org/docs/8.4/static/continuous-archiving.html#RECOVERY-TARGET-INCLUSIVE

> Is there a way in which I can now go back a bit further, and ensure I am
> back to the
> time line before I dropped either of the tables? From documentation, I
> think the answer is 'No'.
> Of course, I could try the entire recovery process once more, and provide
> a couple of minutes
> earlier time as recovery_target_time.

How about setting recovery_target_timeline to the old timeline ID (= 1)?
http://www.postgresql.org/docs/8.4/static/continuous-archiving.html#RECOVERY-TARGET-TIMELINE

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

pgsql-general by date:

Previous
From: Craig Ringer
Date:
Subject: Re: simple functions, huge overhead, no cache
Next
From: Pavel Stehule
Date:
Subject: Re: simple functions, huge overhead, no cache