Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id BA1251237737 for ; Tue, 24 Jul 2012 22:43:01 -0300 (ADT) Received: from mahout.postgresql.org ([98.129.198.123]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Stqcu-0004ax-5R for pgsql-bugs@postgresql.org; Wed, 25 Jul 2012 01:43:01 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Stqch-0000wI-M3 for pgsql-bugs@postgresql.org; Wed, 25 Jul 2012 01:42:48 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1Stqch-0006s0-0i for pgsql-bugs@postgresql.org; Wed, 25 Jul 2012 01:42:47 +0000 Date: Wed, 25 Jul 2012 01:42:47 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #6756: primary_conninfo is ignored if restore_command is set.. To: pgsql-bugs@postgresql.org From: ghazel@gmail.com X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201207/192 X-Sequence-Number: 33668 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 =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' = 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.