pg_archivecleanup debug message consistency

From: "Erik Rijkers" <er(at)xs4all(dot)nl>
To: pgsql-hackers(at)postgresql(dot)org
Subject: pg_archivecleanup debug message consistency
Date: 2010-08-21 22:28:34
Message-ID: 8c50cc134610a4eb3100a46f60e82ad2.squirrel@webmail.xs4all.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

pg_archivecleanup -d (=verbose/DEBUG mode) mainly emits 2 types of messages:

pg_archivecleanup: keep WAL file "000000010000000000000002" and later

and:

pg_archivecleanup: removing file
"/var/data2/pg_stuff/dump/hotprime/replication_archive/00000001000000000000001B"

I found it a bit annoying to not see the full path in the 'keep WAL file'-message (esp. when it is
repeated many screenfulls).

If only for consistency, this patch adds the path info to that message.

Erik Rijkers

Attachment Content-Type Size
pg_archivecleanup.c.diff text/x-patch 640 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2010-08-22 02:40:12 Re: Return of the Solaris vacuum polling problem -- anyone remember this?
Previous Message Tom Lane 2010-08-21 21:49:10 Re: small makeVar refactoring