Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XJQVC-00086d-Kh for pgsql-docs@arkaria.postgresql.org; Mon, 18 Aug 2014 17:13:50 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XJQVB-0000Ka-FH for pgsql-docs@arkaria.postgresql.org; Mon, 18 Aug 2014 17:13:49 +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 1XJQV4-00007A-Ia for pgsql-docs@postgresql.org; Mon, 18 Aug 2014 17:13:42 +0000 Received: from mail-wi0-f174.google.com ([209.85.212.174]) by magus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1XJQUx-0005Fc-Vx for pgsql-docs@postgresql.org; Mon, 18 Aug 2014 17:13:39 +0000 Received: by mail-wi0-f174.google.com with SMTP id d1so4088044wiv.1 for ; Mon, 18 Aug 2014 10:13:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=7z5AzJLe3X3R4MH7mmhIHHD09BdQRn3MccPIIeAbF4s=; b=XpU/SZdCiQR6U50v27v+HkNS/wfmb+lxJ0LzDhlYkxd+Nurhd0LRlspc+asiefP5N8 7Xl10roL2z66SyUoIx0JmzGckFRBarUqABFXTvvvj+7bRNTZgOh3UVMHUIEFtx6YFwfX CIuWUkE88HpQDy5u8MXFvwsWhekFajdp2HPRfj8VHcc2nP8/e+RCO5ibzAjFKbNbvqQd ho1lMptZwc46q+VK3r9CZ9c6jqZ/SOpdan5l4VFbPY51AX+6+D0P5dSdMbu0o2FYVypy TM04btZq0ChO488bs0SCT/7ZW5dGlzhJiv0C/BLYngh423m68jHSzPurdHHmlMA9tcIm b+yQ== X-Gm-Message-State: ALoCoQnoq3rQj5rxhjKoFaRIhSwAoDO0Xv6DNCG+KRPATowiKcOslCe0FbeEo0YO8jjgdG09C5gL MIME-Version: 1.0 X-Received: by 10.194.58.83 with SMTP id o19mr20658134wjq.20.1408382014814; Mon, 18 Aug 2014 10:13:34 -0700 (PDT) Received: by 10.195.13.45 with HTTP; Mon, 18 Aug 2014 10:13:34 -0700 (PDT) In-Reply-To: <53F233E1.3030605@agliodbs.com> 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> <53F233E1.3030605@agliodbs.com> Date: Mon, 18 Aug 2014 19:13:34 +0200 Message-ID: Subject: Re: Sample archive_command is still problematic From: Magnus Hagander To: Josh Berkus Cc: Kevin Grittner , Peter Eisentraut , MauMau , "pgsql-docs@postgresql.org" Content-Type: text/plain; charset=UTF-8 X-Pg-Spam-Score: -2.6 (--) 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 On Mon, Aug 18, 2014 at 7:12 PM, Josh Berkus wrote: > 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. It can, but it's definitely ugly :) As in you can run pg_receivexlog locally... (No, I am not seriously suggesting you should) > 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. +1. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/ -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs