Re: Is pg_control file crashsafe? - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Is pg_control file crashsafe?
Date
Msg-id 20160502232139.tnec7vpm5c5o4t7q@alap3.anarazel.de
Whole thread Raw
In response to Is pg_control file crashsafe?  (Alex Ignatov <a.ignatov@postgrespro.ru>)
Responses Re: Is pg_control file crashsafe?  (Alex Ignatov <a.ignatov@postgrespro.ru>)
List 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



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Is pg_control file crashsafe?
Next
From: Andres Freund
Date:
Subject: Re: Reviewing freeze map code