Re: Is pg_control file crashsafe?

From: Andres Freund <andres(at)anarazel(dot)de>
To: Alex Ignatov <a(dot)ignatov(at)postgrespro(dot)ru>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Is pg_control file crashsafe?
Date: 2016-05-02 23:21:39
Message-ID: 20160502232139.tnec7vpm5c5o4t7q@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On 2016-04-28 21:58:00 +0000, Alex Ignatov wrote:
> We have some issue with truncated pg_control file on Windows after
> power failure.My questions is : 1) Is pg_control protected from say ,
> power crash or partial write?

It should be. I think to make progress on this thread we're going to
need a bit more details about the exact corruption. Was the length of
the file change? Did the checksum fail? Did you just observe too old
contents?

Greetings,

Andres Freund

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2016-05-03 00:25:08 Re: Reviewing freeze map code
Previous Message Tom Lane 2016-05-02 23:17:42 Re: Is pg_control file crashsafe?