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: (view raw, whole thread or download thread mbox)
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 - individual and corporate NNTP services


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-2017 The PostgreSQL Global Development Group