Skip site navigation (1) Skip section navigation (2)

Streaming replication, and walsender during recovery

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Streaming replication, and walsender during recovery
Date: 2010-01-18 05:19:59
Message-ID: 3f0b79eb1001172119k26b48f9et40ecb487df4fc882@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
Hi,

When I configured a cascaded standby (i.e, made the additional
standby server connect to the standby), I got the following
errors, and a cascaded standby didn't start replication.

  ERROR:  timeline 0 of the primary does not match recovery target timeline 1

I didn't care about that case so far. To avoid a confusing error
message, we should forbid a startup of walsender during recovery,
and emit a suitable message? Or support such cascade-configuration?
Though I don't think that the latter is difficult to be implemented,
ISTM it's not the time to do that now.

Thought?

Regards,

-- 
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

Responses

pgsql-hackers by date

Next:From: Heikki LinnakangasDate: 2010-01-18 06:28:13
Subject: Re: Hot Standby and handling max_standby_delay
Previous:From: Fujii MasaoDate: 2010-01-18 05:08:23
Subject: Re: New XLOG record indicating WAL-skipping

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group