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 04:56:38
Message-ID: 20020307135638A.t-ishii@sra.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp> writes:
> >> No, that's wrong. The missing ingredient is that the WAL log should
> >> explicitly log table creations. (And also table drops.) If you look
> >> you will find some comments showing the places where code is missing.
>
> > 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.
--
Tatsuo Ishii

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-03-07 05:00:07 Re: Point in time recovery: recreating relation files
Previous Message Bruce Momjian 2002-03-07 04:44:48 Re: date formatting and tab-complete patch