Re: recovery.conf parsing problems

From: "Simon Riggs" <simon(at)2ndquadrant(dot)com>
To: <andrew(at)supernews(dot)com>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: recovery.conf parsing problems
Date: 2006-12-13 19:28:02
Message-ID: 1166038083.3733.25.camel@silverbirch.site
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim C. Nasby 2006-12-13 19:34:07 Re: Load distributed checkpoint
Previous Message Tom Lane 2006-12-13 18:55:25 Re: unixware and --with-ldap