Re: Point in time recovery: recreating relation files

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
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:00:07
Message-ID: 4472.1015477207@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2002-03-07 05:10:45 Re: date formatting and tab-complete patch
Previous Message Tatsuo Ishii 2002-03-07 04:56:38 Re: Point in time recovery: recreating relation files