Re: Hot standby, recovery_starts_paused

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Hot standby, recovery_starts_paused
Date: 2009-10-16 05:00:19
Message-ID: 1255669219.30088.2589.camel@ebony
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, 2009-10-16 at 01:43 +0300, Heikki Linnakangas wrote:

> recovery_starts_paused is useless as it is. It pauses the recovery right
> after the first WAL record, all right, but before we see a running-xacts
> record, we won't let any backends in. And if you can't connect, you
> can't unpause, so it's stuck forever.

Hmmm, strange. That was an earlier bug; I thought I'd fixed that.

> It should probably behave as "pause after reaching WAL record that
> allows backends to connect".

Agreed, thanks.

--
Simon Riggs www.2ndQuadrant.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2009-10-16 06:33:18 Hot standby, pausing recovery
Previous Message Greg Sabino Mullane 2009-10-16 03:44:35 DELETE not seeing expected rows before COPY on 8.4.1