Re: Offline enabling/disabling of data checksums - Mailing list pgsql-hackers

From Christoph Berg
Subject Re: Offline enabling/disabling of data checksums
Date
Msg-id 20190322153012.GE32388@msg.df7cb.de
Whole thread Raw
In response to Re: Offline enabling/disabling of data checksums  (Fabien COELHO <coelho@cri.ensmp.fr>)
Responses Re: Offline enabling/disabling of data checksums
List pgsql-hackers
Re: Fabien COELHO 2019-03-22 <alpine.DEB.2.21.1903221514390.2198@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


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Ordered Partitioned Table Scans
Next
From: David Rowley
Date:
Subject: Re: Ordered Partitioned Table Scans