Bug in WAL backup documentation

Поиск
Список
Период
Сортировка
Искать
От
Bernd Helmle
Тема
Bug in WAL backup documentation
Дата
Msg-id
AC6FCC7BB26C6B4ACC1D2272@[172.26.14.247]
Список
Дерево обсуждения
Bug in WAL backup documentation Bernd Helmle <mailings@oopsware.de>
Re: Bug in WAL backup documentation Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Bug in WAL backup documentation Martijn van Oosterhout <kleptog@svana.org>
Re: [HACKERS] Bug in WAL backup documentation "Simon Riggs" <simon@2ndquadrant.com>
Re: [HACKERS] Bug in WAL backup documentation Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Bug in WAL backup documentation "Simon Riggs" <simon@2ndquadrant.com>
Re: [HACKERS] Bug in WAL backup documentation "Simon Riggs" <simon@2ndquadrant.com>
Re: [HACKERS] Bug in WAL backup documentation Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Bug in WAL backup documentation Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Bug in WAL backup documentation "Simon Riggs" <simon@2ndquadrant.com>
Re: [HACKERS] Bug in WAL backup documentation Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Bug in WAL backup documentation "Simon Riggs" <simon@2ndquadrant.com>
Re: Bug in WAL backup documentation Bruno Wolff III <bruno@wolff.to>
Re: [HACKERS] Bug in WAL backup documentation Martijn van Oosterhout <kleptog@svana.org>
Re: [HACKERS] Bug in WAL backup documentation "Andrew Dunstan" <andrew@dunslane.net>
Re: [HACKERS] Bug in WAL backup documentation "Magnus Hagander" <mha@sollentuna.net>
Re: [HACKERS] Bug in WAL backup documentation "Florian G. Pflug" <fgp@phlo.org>
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/ 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
В списке pgsql-patches по дате отправления
От: Tom Lane
Дата:
От: Tom Lane
Дата:
FAQ