Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XJQTb-00082B-0Z for pgsql-docs@arkaria.postgresql.org; Mon, 18 Aug 2014 17:12:11 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XJQTa-0006bM-Dv for pgsql-docs@arkaria.postgresql.org; Mon, 18 Aug 2014 17:12:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XJQTZ-0006Yn-Ac for pgsql-docs@postgresql.org; Mon, 18 Aug 2014 17:12:09 +0000 Received: from 01.zmailcloud.com ([192.198.85.104] helo=mx-out-1.zmailcloud.com) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XJQTV-0005Ef-Bk for pgsql-docs@postgresql.org; Mon, 18 Aug 2014 17:12:08 +0000 Received: from smtp.01.com (smtp.01.com [10.10.0.43]) by mx-out-1.zmailcloud.com (Postfix) with ESMTP id 454845645E7; Mon, 18 Aug 2014 12:12:04 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by smtp-out-1.01.com (Postfix) with ESMTP id 3684CA031A; Mon, 18 Aug 2014 12:12:04 -0500 (CDT) X-Virus-Scanned: amavisd-new at smtp-out-1.01.com Received: from smtp.01.com ([127.0.0.1]) by localhost (smtp-out-1.01.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ki5iuPp1-BwF; Mon, 18 Aug 2014 12:12:04 -0500 (CDT) Received: from smtp.01.com (localhost [127.0.0.1]) by smtp-out-1.01.com (Postfix) with ESMTP id 0F897A027E; Mon, 18 Aug 2014 12:12:04 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by smtp-out-1.01.com (Postfix) with ESMTP id ECB16A031A; Mon, 18 Aug 2014 12:12:03 -0500 (CDT) X-Virus-Scanned: amavisd-new at smtp-out-1.01.com Received: from smtp.01.com ([127.0.0.1]) by localhost (smtp-out-1.01.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id HurOGI5oGxCm; Mon, 18 Aug 2014 12:12:03 -0500 (CDT) Received: from [172.47.23.104] (70-36-143-82.dsl.dynamic.sonic.net [70.36.143.82]) by smtp-out-1.01.com (Postfix) with ESMTPSA id B8287A027E; Mon, 18 Aug 2014 12:12:02 -0500 (CDT) Message-ID: <53F233E1.3030605@agliodbs.com> Date: Mon, 18 Aug 2014 10:12:01 -0700 From: Josh Berkus Organization: PostgreSQL Experts Inc. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Magnus Hagander , Kevin Grittner CC: Peter Eisentraut , MauMau , "pgsql-docs@postgresql.org" Subject: Re: Sample archive_command is still problematic References: <53E5603B.5040102@agliodbs.com> <1407777686.41146.YahooMailNeo@web122306.mail.ne1.yahoo.com> <0F73426A2EA544878BCAC33BB989D671@maumau> <53EBCCEA.3090604@gmx.net> <1407965034.12878.YahooMailNeo@web122304.mail.ne1.yahoo.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) 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 Magnus, Kevin: Two things: 1) pg_receivexlog doesn't help for users who need to archive from the master to cold storage (e.g. remote SAN, S3, whatever). So we're going to still need an archive_command. 2) One reason users are using the "test -f" version of the archive command is that we put it in the same postgresql.conf. I would suggest that we don't put *any* archive command in the sample postgresql.conf, since there is no command we can supply which isn't a potential foot-gun. -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.com -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs