BUG #6756: primary_conninfo is ignored if restore_command is set.. - Mailing list pgsql-bugs

From ghazel@gmail.com
Subject BUG #6756: primary_conninfo is ignored if restore_command is set..
Date
Msg-id E1Stqch-0006s0-0i@wrigleys.postgresql.org
Whole thread Raw
Responses Re: BUG #6756: primary_conninfo is ignored if restore_command is set..
List pgsql-bugs
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:=20=20=20=20=20=20=20=20

Trying to get a slave to stream updates from a master, I had both:

restore_command =3D 'pg_standby /data/pgsql9/archive %f %p %r 2>>standby.lo=
g'


and:

primary_conninfo =3D 'host=3D10.x.y.z port=3D5432 user=3Dpostgres'=20

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.

pgsql-bugs by date:

Previous
From: bert@brothom.nl
Date:
Subject: BUG #6761: unexpected behaviour of 'now'::timestamp
Next
From: jez.wain@bull.net
Date:
Subject: BUG #6758: ./configure script sets HAVE_WCSTOMBS_L 1