Re: Improve sleep processing of pg_rewind TAP tests

From: Jan de Visser <jan(at)de-visser(dot)net>
To: pgsql-hackers(at)postgresql(dot)org, hlinnaka(at)iki(dot)fi
Cc: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Subject: Re: Improve sleep processing of pg_rewind TAP tests
Date: 2015-04-22 17:43:26
Message-ID: 2106017.R4ks7JVoQy@wolverine
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On April 22, 2015 11:14:08 AM Heikki Linnakangas wrote:
> On 04/16/2015 06:51 AM, Alvaro Herrera wrote:
> > Seems reasonable, but why are you sleeping 1s if pg_ctl -w is in use? I
> > thought the -w would wait until promotion has taken effect, so there's
> > no need to sleep additional time.
>
> -w is not supported with pg_ctl promote. Only start, stop and restart.
> It's accepted, but it doesn't do anything. Which isn't very nice...

I'm futzing with the pg_ctl cmd line parameters for my patch notifying pg_ctl
that restart didn't work. I'll fix this as well.

>
> - Heikki

jan

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2015-04-22 17:59:35 Re: Turning off HOT/Cleanup sometimes
Previous Message Dean Rasheed 2015-04-22 17:12:19 Re: Row security violation error is misleading