Re: pg_standby -l might destory the archived file

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_standby -l might destory the archived file
Дата
Msg-id 17191.1243867316@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_standby -l might destory the archived file  (Fujii Masao <masao.fujii@gmail.com>)
Ответы Re: pg_standby -l might destory the archived file  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Re: pg_standby -l might destory the archived file  (Fujii Masao <masao.fujii@gmail.com>)
Список pgsql-hackers
Fujii Masao <masao.fujii@gmail.com> writes:
> pg_standby can use ln command to restore an archived file,
> which might destroy the archived file as follows.

Does it matter?  pg_standby's source area wouldn't normally be an
"archive" in the real sense of the word, it's just a temporary staging
area between master and slave.  (If it were being used as a real
archive, keeping it on the same disk as the live slave seems pretty
foolish anyway, so the case wouldn't arise.)
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Win32 link() function
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: pg_standby -l might destory the archived file