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 00:22:00
Message-ID: 20020307092200J.t-ishii@sra.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

> If you try to do it as you suggest above, then you will erroneously
> recreate files that have been dropped.

Yes, but I think we need to compare log's LSN and tables LSN.
--
Tatsuo Ishii

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Eric Scroger 2002-03-07 01:26:24 [Fwd: Re: [HACKERS] A result was returned by the statement, when none was expected]
Previous Message Greg Copeland 2002-03-06 23:44:38 Re: [HACKERS] Bad Build