Re: pg_archivecleanup outputs errors messages which are not error messages per se - Mailing list pgsql-bugs

From Simon Riggs
Subject Re: pg_archivecleanup outputs errors messages which are not error messages per se
Date
Msg-id CA+U5nMJma2JFYZ8tNBaxm0X8j5_FYGXJFKJwWvXKHMqasj0aMg@mail.gmail.com
Whole thread Raw
In response to pg_archivecleanup outputs errors messages which are not error messages per se  (Benjamin Henrion <bh@udev.org>)
List pgsql-bugs
On Mon, Jan 9, 2012 at 9:55 AM, Benjamin Henrion <bh@udev.org> wrote:

> I am using pg_archivecleanup in a shell script that sends STDERR to a
> log file, and I see the foilowing:
>
> pg_archivecleanup: keep WAL file
> "/db/current/wal/0000000900000017000000DD" and later
> pg_archivecleanup: removing file "/db/current/wal/0000000900000017000000D=
C"
> pg_archivecleanup: removing file "/db/current/wal/0000000900000017000000D=
B"
>
> Should those messages considered as being "errors"?
>
> I don't think so.

This is a feature not a bug, since that allows the messages to appear
in the PG log when the utility is used as an archive_cleanup_command.

If you'd like to submit a patch to allow -s mode (silent) or similar,
we'd be happy to receive it.

--=20
=A0Simon Riggs=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 http:/=
/www.2ndQuadrant.com/
=A0PostgreSQL Development, 24x7 Support, Training & Services

pgsql-bugs by date:

Previous
From: Benjamin Henrion
Date:
Subject: pg_archivecleanup outputs errors messages which are not error messages per se
Next
From: Robert Haas
Date:
Subject: Re: user names & non-ASCII