Re: Offline enabling/disabling of data checksums

From: Christoph Berg <myon(at)debian(dot)org>
To: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, Andres Freund <andres(at)anarazel(dot)de>, Michael Banck <michael(dot)banck(at)credativ(dot)de>, Magnus Hagander <magnus(at)hagander(dot)net>, Sergei Kornilov <sk(at)zsrv(dot)org>, PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Offline enabling/disabling of data checksums
Date: 2019-03-22 15:30:12
Message-ID: 20190322153012.GE32388@msg.df7cb.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Re: Fabien COELHO 2019-03-22 <alpine(dot)DEB(dot)2(dot)21(dot)1903221514390(dot)2198(at)lancre>
> Attached is a quick patch about "pg_rewind", so that the control file is
> updated after everything else is committed to disk.

> update_controlfile(datadir_target, progname, &ControlFile_new, do_sync);
>
> - pg_log(PG_PROGRESS, "syncing target data directory\n");
> - syncTargetDirectory();

Doesn't the control file still need syncing?

Christoph

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2019-03-22 15:35:09 Re: Ordered Partitioned Table Scans
Previous Message Simon Riggs 2019-03-22 15:28:51 Re: Ordered Partitioned Table Scans