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

From Joshua D. Drake
Subject Re: pg_archivecleanup bug (invalid filename input)
Date
Msg-id 5577AF04.3010001@commandprompt.com
Whole thread Raw
In response to Re: pg_archivecleanup bug (invalid filename input)  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: pg_archivecleanup bug (invalid filename input)  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers
On 06/09/2015 05:54 PM, Michael Paquier wrote:

> Looking at the documentation what is expected is not a path to a
> segment file, but only a segment file name:
> http://www.postgresql.org/docs/devel/static/pgarchivecleanup.html
> So the current behavior is correct, it is actually what
> SetWALFileNameForCleanup@pg_archivecleanup.c checks in the code.

O.k.... so I would say: Should we adjust this behavior? It seems to me 
that it should accept a path.

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: Alvaro Herrera
Date:
Subject: Re: The Future of Aggregation
Next
From: Noah Misch
Date:
Subject: Re: "could not adopt C locale" failure at startup on Windows