From: ghazel@gmail.com
To: pgsql-bugs@postgresql.org
Subject: BUG #6756: primary_conninfo is ignored if restore_command is set..
Date: Wed, 25 Jul 2012 01:42:47 +0000
Message-ID: <E1Stqch-0006s0-0i@wrigleys.postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 6756
Logged by: Greg Hazel
Email address: ghazel@gmail.com
PostgreSQL version: 9.1.4
Operating system: Amazon Linux
Description:
Trying to get a slave to stream updates from a master, I had both:
restore_command = 'pg_standby /data/pgsql9/archive %f %p %r 2>>standby.log'
and:
primary_conninfo = 'host=10.x.y.z port=5432 user=postgres'
This configuration never streamed from the master, even after restarts,
waiting hours, etc. After all that, I removed restore_command and restarted,
and the slave started streaming immediately.
This seems to contradict many guides and the documentation I've found.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: ghazel@gmail.com
Subject: Re: BUG #6756: primary_conninfo is ignored if restore_command is set..
In-Reply-To: <E1Stqch-0006s0-0i@wrigleys.postgresql.org>
References: <E1Stqch-0006s0-0i@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox