Patch for some typos in pgarchivecleanup.sgml

Поиск
Список
Период
Сортировка
Искать

Patch for some typos in pgarchivecleanup.sgml

От:
Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
Дата:
Вложения:
Hi all,

I found some typos in pgarchivecleanup.sgml.
A patch to fix them is attached in this mail.
Please take a look.

Regards,
-- 
NAGAYASU Satoshi 

Re: Patch for some typos in pgarchivecleanup.sgml

От:
Fujii Masao <masao.fujii@gmail.com>
Дата:
2010/8/11 Satoshi Nagayasu :
> I found some typos in pgarchivecleanup.sgml.
> A patch to fix them is attached in this mail.
> Please take a look.

-archive_cleanup_command = 'pg_archivecleanup -d .../archive %r 2>>cleanup.log'
+archive_cleanup_command = 'pg_archivecleanup -d ../archive %r 2>>cleanup.log'

This is not a typo. Triple dots ... is used as replaceable part of the path,
and is used also elsewhere. Though I agree that's somewhat confusing.

Regards,

-- 
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

Re: Patch for some typos in pgarchivecleanup.sgml

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Fujii Masao  writes:
> 2010/8/11 Satoshi Nagayasu :
>> -archive_cleanup_command = 'pg_archivecleanup -d .../archive %r 2>>cleanup.log'
>> +archive_cleanup_command = 'pg_archivecleanup -d ../archive %r 2>>cleanup.log'

> This is not a typo. Triple dots ... is used as replaceable part of the path,
> and is used also elsewhere. Though I agree that's somewhat confusing.

It seems unnecessary to use that convention here, though.  I changed it
to read "/mnt/standby/archive", which is consistent with some other
examples in which an NFS mount is assumed.

The standby.log -> cleanup.log change is an obvious typo, in any case.

			regards, tom lane
FAQ