Re: pg_rewind just doesn't fsync *anything*? - Mailing list pgsql-hackers

From Abhijit Menon-Sen
Subject Re: pg_rewind just doesn't fsync *anything*?
Date
Msg-id 20160310073739.GA29793@toroid.org
Whole thread Raw
In response to Re: pg_rewind just doesn't fsync *anything*?  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: pg_rewind just doesn't fsync *anything*?
List pgsql-hackers
At 2016-03-10 08:35:43 +0100, michael.paquier@gmail.com wrote:
>
> > I guess the easiest fix would be to shell out to initdb -s?
> 
> What do you mean? I am not sure what initdb has to do with that as we
> have no need for it in pg_rewind.

initdb -S/--sync-only fsyncs everything in the data directory and exits.

-- Abhijit



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: pg_rewind just doesn't fsync *anything*?
Next
From: Michael Paquier
Date:
Subject: Re: pg_rewind just doesn't fsync *anything*?