Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support

From: Euler Taveira <euler(at)timbira(dot)com>
To: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Kevin Grittner <kgrittn(at)mail(dot)com>, Bruce Momjian <bruce(at)momjian(dot)us>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, "stuart(dot)bishop" <stuart(dot)bishop(at)canonical(dot)com>, koichi(dot)szk(at)gmail(dot)com, Robert Haas <robertmhaas(at)gmail(dot)com>, Pg Bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support
Date: 2013-01-26 13:18:44
Message-ID: 5103D7B4.4090800@timbira.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Jan Urbański 2013-01-26 17:46:17 Re: cache lookup failed from empty plpythonu function
Previous Message Tom Lane 2013-01-26 01:09:05 Re: Re: BUG #7748: "drop owned by" fails with error message: "unrecognized object class: 1262"