BUG #6756: primary_conninfo is ignored if restore_command is set..

From: ghazel(at)gmail(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #6756: primary_conninfo is ignored if restore_command is set..
Date: 2012-07-25 01:42:47
Message-ID: E1Stqch-0006s0-0i@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 6756
Logged by: Greg Hazel
Email address: ghazel(at)gmail(dot)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.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message jez.wain 2012-07-25 09:49:35 BUG #6758: ./configure script sets HAVE_WCSTOMBS_L 1
Previous Message Tom Lane 2012-07-25 01:21:06 Re: [BUGS] BUG #6748: sequence value may be conflict in some cases