Re: Point in time recovery: recreating relation files - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Point in time recovery: recreating relation files
Date
Msg-id 4472.1015477207@sss.pgh.pa.us
Whole thread Raw
In response to Re: Point in time recovery: recreating relation files  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Responses Re: Point in time recovery: recreating relation files  (Tatsuo Ishii <t-ishii@sra.co.jp>)
List pgsql-hackers
Tatsuo Ishii <t-ishii@sra.co.jp> writes:
> I'm wondering where we could record the LSN when creating or dropping
> tables.
>> 
>> Um, why would that matter?

> In my understanding to prevent redo-ing two or more times while in the
> recovery process, we need to compare LSN in the object against the LSN
> in the WAL log.

But undo/redo checking on file creation or deletion is trivial: either
the kernel has the file or it doesn't.  We do not need any other check
AFAICS.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: Point in time recovery: recreating relation files
Next
From: Bruce Momjian
Date:
Subject: Re: date formatting and tab-complete patch