pg_archivecleanup debug message consistency

Erik Rijkers <er@xs4all.nl>

From: "Erik Rijkers" <er@xs4all.nl>
To: pgsql-hackers@postgresql.org
Date: 2010-08-21T22:28:34Z
Lists: pgsql-hackers

Attachments

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