Re: recovery.conf parsing problems - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: recovery.conf parsing problems
Date
Msg-id 1166038083.3733.25.camel@silverbirch.site
Whole thread Raw
In response to recovery.conf parsing problems  (Andrew - Supernews <andrew+nonews@supernews.com>)
Responses Re: recovery.conf parsing problems  ("Simon Riggs" <simon@2ndquadrant.com>)
List pgsql-hackers
On Wed, 2006-12-13 at 04:23 +0000, Andrew - Supernews wrote:
> While testing a PITR recovery, I discovered that recovery.conf doesn't
> seem to allow specifying ' in the command string, making it hard to
> protect the restore_command against problematic filenames (whitespace
> etc.). This doesn't seem to be a problem for archive_command, which
> allows \' (e.g. archive_command = '/path/to/script \'%f\' \'%p\'').
> Should this be fixed?

Yes, I'll look into that.

--  Simon Riggs              EnterpriseDB   http://www.enterprisedb.com




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: unixware and --with-ldap
Next
From: "Jim C. Nasby"
Date:
Subject: Re: Load distributed checkpoint