Re: pg_rewind just doesn't fsync *anything*?

From: Abhijit Menon-Sen <ams(at)2ndQuadrant(dot)com>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Cc: Andres Freund <andres(at)anarazel(dot)de>, pgsql-hackers(at)postgresql(dot)org, Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Subject: Re: pg_rewind just doesn't fsync *anything*?
Date: 2016-03-10 07:37:39
Message-ID: 20160310073739.GA29793@toroid.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

At 2016-03-10 08:35:43 +0100, michael(dot)paquier(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2016-03-10 07:47:16 Re: pg_rewind just doesn't fsync *anything*?
Previous Message Michael Paquier 2016-03-10 07:35:43 Re: pg_rewind just doesn't fsync *anything*?