pg_archivecleanup bug (invalid filename input)

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: pg_archivecleanup bug (invalid filename input)
Date: 2015-06-09 22:27:56
Message-ID: 5577686C.7080505@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2015-06-09 22:35:08 The purpose of the core team
Previous Message Andrew Dunstan 2015-06-09 21:53:50 Re: Why no jsonb_exists_path()?