Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZyzaK-0006HW-AP for pgsql-docs@arkaria.postgresql.org; Wed, 18 Nov 2015 10:03:28 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZyzaJ-0004xr-Be for pgsql-docs@arkaria.postgresql.org; Wed, 18 Nov 2015 10:03:27 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZyzaJ-0004xj-1c for pgsql-docs@postgresql.org; Wed, 18 Nov 2015 10:03:27 +0000 Received: from newmail.postgrespro.ru ([93.174.131.138] helo=mail.postgrespro.ru) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1ZyzaC-0008Kw-BN for pgsql-docs@postgresql.org; Wed, 18 Nov 2015 10:03:26 +0000 Received: from [192.168.27.86] (unknown [192.168.27.1]) by mail.postgrespro.ru (Postfix) with ESMTPSA id 9EB8B21C4532 for ; Wed, 18 Nov 2015 13:03:18 +0300 (MSK) To: pgsql-docs@postgresql.org From: Pavel Luzanov Subject: pg_rewind source-server connection Message-ID: <564C4CE6.9000509@postgrespro.ru> Date: Wed, 18 Nov 2015 13:03:18 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------070907060002050003040701" X-Pg-Spam-Score: -2.5 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org This is a multi-part message in MIME format. --------------070907060002050003040701 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi all, May be it's time to document that source-server connection in pg_rewind must be non-replication and with superuser access. Consider this small patch for documentation. Previous discussion here: http://www.postgresql.org/message-id/54AEEC26.5030707@gmx.net ----- Pavel Luzanov Postgres Professional: http://www.postgrespro.com The Russian Postgres Company --------------070907060002050003040701 Content-Type: text/x-patch; name="20151118_doc_pg_rewind.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="20151118_doc_pg_rewind.patch" diff --git a/doc/src/sgml/ref/pg_rewind.sgml b/doc/src/sgml/ref/pg_rewind.sgml index 9cdfa90..ef0cc28 100644 --- a/doc/src/sgml/ref/pg_rewind.sgml +++ b/doc/src/sgml/ref/pg_rewind.sgml @@ -130,7 +130,9 @@ PostgreSQL documentation Specifies a libpq connection string to connect to the source PostgreSQL server to synchronize the target with. - The server must be up and running, and must not be in recovery mode. + The connection must be a normal (non-replication) connection + with superuser access. The server must be up and running, + and must not be in recovery mode. --------------070907060002050003040701 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs --------------070907060002050003040701--