Re: Point in time recovery: recreating relation files

From: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
To: tgl(at)sss(dot)pgh(dot)pa(dot)us
Cc: marc(at)bloodnok(dot)com, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Point in time recovery: recreating relation files
Date: 2002-03-07 05:11:10
Message-ID: 20020307141110A.t-ishii@sra.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> > 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.

Are you saying that the table creation log record would contain a
relfilenode? I'm not sure the relfilenode is same before and after the
recovery if we consider the point time recovery.
--
Tatsuo Ishii

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-03-07 05:19:27 Re: Bad Build
Previous Message Bruce Momjian 2002-03-07 05:10:45 Re: date formatting and tab-complete patch