Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V8q8m-0002ZL-FF for pgsql-bugs@arkaria.postgresql.org; Mon, 12 Aug 2013 11:18:24 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1V8q8l-0004vU-Sw for pgsql-bugs@arkaria.postgresql.org; Mon, 12 Aug 2013 11:18:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V8q8k-0004tu-7Q for pgsql-bugs@postgresql.org; Mon, 12 Aug 2013 11:18:22 +0000 Received: from mail-pa0-x22c.google.com ([2607:f8b0:400e:c03::22c]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V8q8g-0000f8-JC for pgsql-bugs@postgresql.org; Mon, 12 Aug 2013 11:18:21 +0000 Received: by mail-pa0-f44.google.com with SMTP id fz6so4573284pac.31 for ; Mon, 12 Aug 2013 04:18:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=pXA6gh9/abiwvPlSfCZrL3xoAIBRffcqpA1YQMn8qA4=; b=ZFfAIa2MuVeUb+poYP3W0aggD26G7Hx4e4vAeDzSSYCtzC06XTqG59xe6YDR1QZjT/ QqjN0+Y+HXoZwCv0R4qe2dVujjQJuG9yyNhlp47iyPibqcKQ7NNxvvy+E4c75AyusdNo PU+Lc1McobL09gHVa9Vpp4XwNlo9O+yMcjh4BUGmZkCSbVhUPb/zP7+q1+8NIWcxCWK4 UQDT30mjtoNP+z/Y6KORJpb2igekRkIIom7ZWQjqjhUP/uTDDr2UeaJhpUvK91UhsRIj YFqm9lGHw2rftDhGVpjSqhEhGprnu4EbUYxjmVpKFVeHFlYyQnFR4qK2U+C2LXOSr7Ed MbLw== X-Received: by 10.66.102.41 with SMTP id fl9mr24068726pab.169.1376306297131; Mon, 12 Aug 2013 04:18:17 -0700 (PDT) Received: from [192.168.0.102] (014136185055.ctinets.com. [14.136.185.55]) by mx.google.com with ESMTPSA id ht5sm36624498pbb.29.2013.08.12.04.18.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 12 Aug 2013 04:18:16 -0700 (PDT) Subject: Re: Enable WAL Archive in Replication server Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: "ascot.moss@gmail.com" In-Reply-To: Date: Mon, 12 Aug 2013 19:18:14 +0800 Cc: "ascot.moss@gmail.com" , pgsql-bugs@postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: <6BC3020E-0A9B-4434-83A4-41E38E10CB25@gmail.com> References: <97FD6E50-F284-4317-8266-082D9E4769DC@gmail.com> To: Michael Paquier X-Mailer: Apple Mail (2.1085) X-Pg-Spam-Score: -2.0 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Thanks so much. On 12 Aug 2013, at 6:45 AM, Michael Paquier wrote: > On Mon, Aug 12, 2013 at 1:53 AM, ascot.moss@gmail.com > wrote: >> I want to enable WAL archive on the replica, I am advised that WAL archi= ve >> can only be enabled on the Master, can you please advise if this is a bug >> and any workaround available? > Archiving a WAL file is only done once its generation has been > completed by a master server. A standby node only replays WAL files, > copying them from the indicated archive folder with restore_command to > its local pg_xlog folder when necessary, and performs no archive > actions. > http://www.postgresql.org/docs/devel/static/continuous-archiving.html#BAC= KUP-ARCHIVING-WAL > --=20 > Michael --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs