Re: Improve sleep processing of pg_rewind TAP tests

From: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Cc: PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Improve sleep processing of pg_rewind TAP tests
Date: 2015-04-22 08:14:08
Message-ID: 55375850.1090100@iki.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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...

- Heikki

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Petr Jelinek 2015-04-22 08:17:50 Re: Replication identifiers, take 4
Previous Message Andres Freund 2015-04-22 07:18:40 Re: moving from contrib to bin