Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Zc2Qm-0004NO-B2 for pgsql-hackers@arkaria.postgresql.org; Wed, 16 Sep 2015 02:26:44 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Zc2Ql-00055h-DH for pgsql-hackers@arkaria.postgresql.org; Wed, 16 Sep 2015 02:26:43 +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 1Zc2PR-0003dI-Ok for pgsql-hackers@postgresql.org; Wed, 16 Sep 2015 02:25:21 +0000 Received: from mout.gmx.net ([212.227.15.18]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.84) (envelope-from ) id 1Zc2PO-0000d1-HV for pgsql-hackers@postgresql.org; Wed, 16 Sep 2015 02:25:21 +0000 Received: from auth2-smtp.messagingengine.com ([66.111.4.228]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0MGj8j-1ZP87W2rYn-00DWq8 for ; Wed, 16 Sep 2015 04:25:15 +0200 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailauth.nyi.internal (Postfix) with ESMTP id 418BD23223 for ; Tue, 15 Sep 2015 22:25:14 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Tue, 15 Sep 2015 22:25:14 -0400 X-Sasl-enc: C2Pq2O5MGaXoJajmp8LupbXGYZafSSUo5hp7JsZppPJP 1442370314 Received: from [10.0.0.9] (c-73-13-69-21.hsd1.pa.comcast.net [73.13.69.21]) by mail.messagingengine.com (Postfix) with ESMTPA id 081E8C00023; Tue, 15 Sep 2015 22:25:13 -0400 (EDT) Subject: Re: [COMMITTERS] pgsql: Add --synchronous option to pg_receivexlog, for more reliable WA To: Fujii Masao , pgsql-hackers References: From: Peter Eisentraut Message-ID: <55F8D305.9040506@gmx.net> Date: Tue, 15 Sep 2015 22:25:09 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:ujncXQ4Q1KYBy8IDWRVCRmglZ8xEFva9hn/bJheLlWDF73mR1CY WGvTcUXrxyLTzVq/DJ0FCrO/UX0vD/PxJh1FxhKz8EPkR4HHrQkUfVhZOngZKRhaEY9voAP miQ23Zcrkt1Ry0hYfZPj/Inx4FcNODgmObrmI34LGKmN80segC8ebL4lorcylCQTJUYdtQk V+IhjCnYcHNCn9JFgSC5w== X-UI-Out-Filterresults: notjunk:1;V01:K0:qnjqKGa5SzA=:eBbVc3scr3+MgDUpDnaIBX FDEVQWxyLqvn0lVNBucAPGSrXDK4LFOSeRPfbstJGj4OhzKy6/YbPNc++c+pgC2i8OzqXZI79 UxcgxAExgcTyJxrvsTihVeOrZssayM+0bXk1Dbg7E6ezaHpyt34W4tABtS0Z5abKvrsYphAjK lswwROcLAtGW6uBRiez2j0JyHmGmvvjdC2lwNQMt05mGHqtCQ6FeqEgt0TBycNCzNZevCx4Au GBNet8jQGjUmxmX+eYuTQU/xkoSJOKZFyc/P8bpjju2TCPs2oqVDRJRu+tzisLCMK8OisIPMO wr+M+szeZWnbjOelPHbtOJr4fm/6wGCeAbocMcVYCyjVSP2+99voFNiRpifmHRzsyOjFSaZ02 WP6NcxNfqRDy7JG4uuZwQ+RzLEEiNGFQH5v3eVPuucU8VJ6Y7LepNe8Evrbl+NoIybP7o2mOm JRFuGSkBUIzc5KKJNqiwyn08tJH4LL768MLOyzL3l09AfEVa3pYDc5s6UO8KcSmIeNEBHSHDS yeIEKKevzSm0HlqmxZPWusehrEhEOGCWtYiZIqxPLIusZzliM04OpkwH1iQgxQ4VaQLSd5p+u PDklz9SRfrGY5URa9Z8t/JwMwpvGRMZ0t4rJ7XFQz7RYApya1p2zrS0slBMo3j4SAa2DAaYpK Z6u8LBnqz6fHHDXBdjXxnIvbqN8we7eaNbOCse0tPmGOy0M3079wsM0NIJ+yqabq6KkMUdIc1 pa0dhHbWP3B4HIUx1H5WoQEGoV7GG6Ddkst2EA== X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 11/17/14 12:34 PM, Fujii Masao wrote: > Add --synchronous option to pg_receivexlog, for more reliable WAL writing. The last two sentences of this piece of documentation are a bit hand-wavy and hard to parse. Could you clarify this? Require pg_receivexlog to use an existing replication slot (see ). When this option is used, pg_receivexlog will report a flush position to the server, indicating when each segment has been synchronized to disk so that the server can remove that segment if it is not otherwise needed. --synchronous option must be specified when making pg_receivexlog run as synchronous standby by using replication slot. Otherwise WAL data cannot be flushed frequently enough for this to work correctly. -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers