Bug in WAL backup documentation

From: Bernd Helmle <mailings(at)oopsware(dot)de>
To: pgsql-patches(at)postgresql(dot)org
Subject: Bug in WAL backup documentation
Date: 2006-11-03 11:23:23
Message-ID: AC6FCC7BB26C6B4ACC1D2272@[172.26.14.247]
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Our WAL backup documentation says in some parts of it:

..."%p is replaced by the absolute path of the file to archive..." [1]

I think this is (at least for 8.1 and upcoming 8.2 releases) wrong, since
the archiver
replaces this with pg_xlog/<LOGFILENAME> only, so that the archive command
is invoked with the relative path to the database data directory and its
xlog files. This
applies to the restore_command as well. Attached is a small patch against
HEAD, which
will adjust things in the documentation.

[1]
http://www.postgresql.org/docs/8.1/interactive/backup-online.html#BACKUP-ARCHIVING-WAL

--
Thanks

Bernd

Attachment Content-Type Size
wal_backup_doc.patch application/octet-stream 4.6 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2006-11-03 13:45:04 Re: [PATCHES] WAL logging freezing
Previous Message Zeugswetter Andreas ADI SD 2006-11-03 10:40:14 Re: [PATCHES] WAL logging freezing

Browse pgsql-patches by date

  From Date Subject
Next Message Alvaro Herrera 2006-11-03 13:45:04 Re: [PATCHES] WAL logging freezing
Previous Message Zeugswetter Andreas ADI SD 2006-11-03 10:40:14 Re: [PATCHES] WAL logging freezing