Re: pg_archivecleanup bug (invalid filename input)

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_archivecleanup bug (invalid filename input)
Date: 2015-06-10 03:29:08
Message-ID: 5577AF04.3010001@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)pg_archivecleanup(dot)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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Noah Misch 2015-06-10 04:06:38 Re: "could not adopt C locale" failure at startup on Windows
Previous Message Alvaro Herrera 2015-06-10 03:17:11 Re: The Future of Aggregation