Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bZkAY-0006H2-94 for pgsql-docs@arkaria.postgresql.org; Tue, 16 Aug 2016 19:37:02 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bZkAX-0000L9-SA for pgsql-docs@arkaria.postgresql.org; Tue, 16 Aug 2016 19:37:01 +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_2) (envelope-from ) id 1bZkAC-0008OS-77 for pgsql-docs@postgresql.org; Tue, 16 Aug 2016 19:36:40 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bZkA8-0005FG-KC for pgsql-docs@postgresql.org; Tue, 16 Aug 2016 19:36:39 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 4E87320693; Tue, 16 Aug 2016 15:36:35 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute2.internal (MEProxy); Tue, 16 Aug 2016 15:36:35 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=j7NFiLr90T+PBfX BlHD9AhM2R/A=; b=IPM0Of8cuXFTta0DO1Gyj1exGuWDCSp2nfQkYLbkkIELwMP dEjq1VyLhsz6RjTVzGCSTLLAatVgoxDdFviCWDeNJaY1zYyHaG7tWeOoTaqRpFNW lkOKWlhQjhIi/YQwSbx0C1OuhHaSNLscbpu7ihA5DT+AxgEPRjl4vAl1fQZ0= X-Sasl-enc: xH3nnI4RNq5hDIIAmYfBQtn7g2WX8Zpctpb6FpydrXNK 1471376195 Received: from april.local (c-73-13-66-39.hsd1.pa.comcast.net [73.13.66.39]) by mail.messagingengine.com (Postfix) with ESMTPA id 0737FF2D2F; Tue, 16 Aug 2016 15:36:35 -0400 (EDT) Subject: Re: pg_archivecleanup docs To: Jeff Janes , pgsql-docs@postgresql.org References: From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: <734dd095-c2b3-7a4d-a5a2-150480888963@2ndquadrant.com> Date: Tue, 16 Aug 2016 15:36:34 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit 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 8/5/16 11:53 AM, Jeff Janes wrote: > I think the documentation for the -x option is confusing: > > -x extension > > When using the program as a standalone utility, provide an extension > that will be stripped from all file names before deciding if they > should be deleted. This is typically useful for cleaning up archives > that have been compressed during storage, and therefore have had an > extension added by the compression program. For example: -x .gz. > > > This option behaves the same whether it is used as a standalone > utility or used by archive_cleanup_command. I don't think > pg_archivecleanup even knows how it is being called. > > I think we should just strike the first clause. Fixed in 9.6 and master. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs