recovery.conf parsing problems - Mailing list pgsql-hackers

From Andrew - Supernews
Subject recovery.conf parsing problems
Date
Msg-id slrnenv02k.1aj7.andrew+nonews@atlantis.supernews.net
Whole thread Raw
Responses Re: recovery.conf parsing problems  ("Simon Riggs" <simon@2ndquadrant.com>)
List pgsql-hackers
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?

-- 
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services


pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: 8.1.5 release note
Next
From: "Jim C. Nasby"
Date:
Subject: Re: Grouped Index Tuples