Skip site navigation (1) Skip section navigation (2)

recovery.conf parsing problems

From: Andrew - Supernews <andrew+nonews(at)supernews(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: recovery.conf parsing problems
Date: 2006-12-13 04:23:48
Message-ID: slrnenv02k.1aj7.andrew+nonews@atlantis.supernews.net (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group