Re: Allow WAL information to recover corrupted pg_controldata

From: Aidan Van Dyk <aidan(at)highrise(dot)ca>
To: Amit Kapila <amit(dot)kapila(at)huawei(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Allow WAL information to recover corrupted pg_controldata
Date: 2012-06-20 13:42:33
Message-ID: CAC_2qU9XZJos3sjE0Q8MKSS0A567JP7UvHV1zZ=e_hYQiX24Og@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Jun 20, 2012 at 9:21 AM, Amit Kapila <amit(dot)kapila(at)huawei(dot)com> wrote:

> Example Scenario -

> Now assume we have Data files and WAL files intact and only control file is lost.

Just so I understand correctly, the aim of this is to "fix" the
situation where out of the thousands of files and 100s of GB of data
in my pg directory, the *only* corruption is that a single file
pg_control file is missing?

a.

--
Aidan Van Dyk                                             Create like a god,
aidan(at)highrise(dot)ca                                       command like a king,
http://www.highrise.ca/                                   work like a slave.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2012-06-20 13:42:39 Re: [PATCH 10/16] Introduce the concept that wal has a 'origin' node
Previous Message Andres Freund 2012-06-20 13:38:17 Re: [PATCH 04/16] Add embedded list interface (header only)