recovery.conf parsing problems

From: Andrew - Supernews
To: pgsql-hackers(at)postgresql(dot)org
Subject: recovery.conf parsing problems
Date: 2006-12-13 04:23:48
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim C. Nasby 2006-12-13 04:56:41 Re: Grouped Index Tuples
Previous Message Tatsuo Ishii 2006-12-13 03:57:02 8.1.5 release note