pg_archivecleanup bug (invalid filename input) - Mailing list pgsql-hackers

From Joshua D. Drake
Subject pg_archivecleanup bug (invalid filename input)
Date
Msg-id 5577686C.7080505@commandprompt.com
Whole thread Raw
Responses Re: pg_archivecleanup bug (invalid filename input)  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers
Hello,

Trying to use pg_archivecleanup as a:

"standalone archive cleaner"

Results in an error of:

pg_archivecleanup: invalid filename input
Try "pg_archivecleanup --help" for more information.

/usr/pgsql-9.4/bin/pg_archivecleanup /backups/db1/archive 
0000000100000748000000B1.00015838.backup

Works.

/usr/pgsql-9.4/bin/pg_archivecleanup /backups/db1/archive 
./0000000100000748000000B1.00015838.backup

Or

/usr/pgsql-9.4/bin/pg_archivecleanup /backups/db1/archive 
/backups/db1/archive/0000000100000748000000B1.00015838.backup

Do not and present with the error mentioned above.

CentOS 6.6 with PGDG rpms.

Sincerely,

JD

-- 
Command Prompt, Inc. - http://www.commandprompt.com/  503-667-4564
PostgreSQL Centered full stack support, consulting and development.
Announcing "I'm offended" is basically telling the world you can't
control your own emotions, so everyone else should do it for you.



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Why no jsonb_exists_path()?
Next
From: Bruce Momjian
Date:
Subject: The purpose of the core team