Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tz5ey-00028W-5F for pgsql-bugs@arkaria.postgresql.org; Sat, 26 Jan 2013 13:19:05 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1Tz5ew-0002SR-TO for pgsql-bugs@arkaria.postgresql.org; Sat, 26 Jan 2013 13:19:02 +0000 Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tz5ev-0002SL-OM for pgsql-bugs@postgresql.org; Sat, 26 Jan 2013 13:19:02 +0000 Received: from oproxy7-pub.bluehost.com ([67.222.55.9]) by makus.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1Tz5eq-0004tK-NN for pgsql-bugs@postgresql.org; Sat, 26 Jan 2013 13:18:59 +0000 Received: (qmail 973 invoked by uid 0); 26 Jan 2013 13:18:54 -0000 Received: from unknown (HELO host159.hostmonster.com) (74.220.207.159) by oproxy7.bluehost.com with SMTP; 26 Jan 2013 13:18:53 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=timbira.com; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:CC:To:MIME-Version:From:Date:Message-ID; bh=PfmzjC+GGH2Es26p15+JSvqXam7c8tge+cOerzwNLpk=; b=VqKVTW8mEKhF2+LK6UQEZenxTqGF314LGtxnUjBW8zkTS+i9RFZ0eqY7YDbV0E6vMFbTGn8mAizQehFJ7I0ZLsQLvqrwvWEmpFRCc6jrdnH14WSF5f//tHTCHC9/0ZGb; Received: from [177.1.68.103] (port=60718 helo=[10.3.2.3]) by host159.hostmonster.com with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.80) (envelope-from ) id 1Tz5em-0001jG-UE; Sat, 26 Jan 2013 06:18:53 -0700 Message-ID: <5103D7B4.4090800@timbira.com> Date: Sat, 26 Jan 2013 11:18:44 -0200 From: Euler Taveira User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.11) Gecko/20121122 Icedove/10.0.11 MIME-Version: 1.0 To: Jeff Janes CC: Peter Eisentraut , Kevin Grittner , Bruce Momjian , Alvaro Herrera , "stuart.bishop" , koichi.szk@gmail.com, Robert Haas , Pg Bugs Subject: Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support References: <20130125063509.119070@gmx.com> <510300CB.8080507@gmx.net> In-Reply-To: X-Enigmail-Version: 1.4.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Identified-User: {1651:host159.hostmonster.com:timbirac:timbira.com} {sentby:smtp auth 177.1.68.103 authed with euler@timbira.com} X-Pg-Spam-Score: -1.9 (-) 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 On 25-01-2013 20:23, Jeff Janes wrote: > I've been thinking about that. Should pg_clearxlogtail for 9.3 only > work for logs from 9.3, or should it be arranged to work on logs from > older versions as well (which probably means parts of the 9.2 headers > would need to be copied into the body of pg_clearxlogtail)? > As it is a new tool for contrib, I don't see the obligation to maintain compatibility with prior versions unless someone want to do that legwork. If the compatibility won't be included, the docs could point out the source for prior versions. > This is what I use: > > archive_command = 'set -C -o pipefail; > (/usr/local/pgsql9_2/bin/pg_clearxlogtail < %p || cat %p) | gzip > > /mnt/foo/archivelog9_2/%f.gz' > > The "|| cat %p" business is because pg_clearxlogtail will fail on > .history files and so needs an alternative path. > That's something that should be addressed, no? > I think it would be better to have pg_clearxlogtail instead just > silently pass any unrecognized files through without manipulation, > rather than erroring out. > ... or let people choose one or another. -- Euler Taveira de Oliveira - Timbira http://www.timbira.com.br/ PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs