Re: testing cvs HEAD - HS/SR - xlog timeline 0 pg_xlogfile_name_offset

Поиск
Список
Период
Сортировка
Искать
От
Fujii Masao
Тема
Re: testing cvs HEAD - HS/SR - xlog timeline 0 pg_xlogfile_name_offset
Дата
Msg-id
3f0b79eb1003080526w750c60e3u1569d291341511df@mail.gmail.com
Ответ на
Список
Дерево обсуждения
testing cvs HEAD - HS/SR - xlog timeline 0 pg_xlogfile_name_offset "Erik Rijkers" <er@xs4all.nl>
Re: testing cvs HEAD - HS/SR - xlog timeline 0 pg_xlogfile_name_offset "Erik Rijkers" <er@xs4all.nl>
Re: testing cvs HEAD - HS/SR - xlog timeline 0 pg_xlogfile_name_offset Fujii Masao <masao.fujii@gmail.com>
Re: testing cvs HEAD - HS/SR - xlog timeline 0 pg_xlogfile_name_offset Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: testing cvs HEAD - HS/SR - xlog timeline 0 pg_xlogfile_name_offset Fujii Masao <masao.fujii@gmail.com>
Re: testing cvs HEAD - HS/SR - xlog timeline 0 pg_xlogfile_name_offset Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: testing cvs HEAD - HS/SR - xlog timeline 0 pg_xlogfile_name_offset Fujii Masao <masao.fujii@gmail.com>
Re: testing cvs HEAD - HS/SR - xlog timeline 0 pg_xlogfile_name_offset Fujii Masao <masao.fujii@gmail.com>
Re: testing cvs HEAD - HS/SR - xlog timeline 0 pg_xlogfile_name_offset "Erik Rijkers" <er@xs4all.nl>
On Thu, Feb 25, 2010 at 7:48 PM, Fujii Masao  wrote:
> On Thu, Feb 25, 2010 at 7:22 PM, Heikki Linnakangas
>  wrote:
>> Yeah. The current pg_*_last_location() functions don't cut it though,
>> you need to retain logs back to the redo location of the last
>> restartpoint. That's what %r returns. Maybe we should add another function?
>
> +1

The attached patch introduces new function 'pg_last_checkpoint_start_location'
(better name?) that reports the XLOG location where the last checkpoint or
restartpoint started (i.e., the REDO starting location). This would be useful
to truncate the archived files to just the minimum required for recovery.

Is it worth applying this patch?

Regards,

-- 
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center
В списке pgsql-hackers по дате отправления
От: Michael Meskes
Дата:
От: Tim Bunce
Дата:
Сообщение: Re: Safe security
FAQ