pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Euler Taveira <euler@timbira.com>
To: Jeff Janes <jeff.janes@gmail.com>
Cc: Peter Eisentraut <peter_e@gmx.net>
Cc: Kevin Grittner <kgrittn@mail.com>
Cc: Bruce Momjian <bruce@momjian.us>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: stuart.bishop <stuart.bishop@canonical.com>
Cc: koichi.szk@gmail.com
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Pg Bugs <pgsql-bugs@postgresql.org>
Subject: Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support
Date: Sat, 26 Jan 2013 11:18:44 -0200
Message-ID: <5103D7B4.4090800@timbira.com> (raw)
In-Reply-To: <CAMkU=1yMxuKo7-pd+KNx==p3C2XT8P-ajfVbJ64tzRh6Bnb14Q@mail.gmail.com>
References: <20130125063509.119070@gmx.com>
	<510300CB.8080507@gmx.net>
	<CAMkU=1yMxuKo7-pd+KNx==p3C2XT8P-ajfVbJ64tzRh6Bnb14Q@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

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



view thread (21+ messages)  latest in thread

Message-ID: <5103D7B4.4090800@timbira.com>
Permalink:  ../5103D7B4.4090800@timbira.com/
Also on:    postgresql.org/message-id/5103D7B4.4090800@timbira.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: euler@timbira.com, jeff.janes@gmail.com, peter_e@gmx.net, kgrittn@mail.com, bruce@momjian.us, alvherre@2ndquadrant.com, stuart.bishop@canonical.com, koichi.szk@gmail.com, robertmhaas@gmail.com
  Subject: Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support
  In-Reply-To: <5103D7B4.4090800@timbira.com>
  References: <20130125063509.119070@gmx.com> <510300CB.8080507@gmx.net> <CAMkU=1yMxuKo7-pd+KNx==p3C2XT8P-ajfVbJ64tzRh6Bnb14Q@mail.gmail.com> <5103D7B4.4090800@timbira.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox