Re: Reporting WAL file containing checkpoint's REDO record in pg_controldata's result

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: Reporting WAL file containing checkpoint's REDO record in pg_controldata's result
Дата
Msg-id CAHGQGwHh7z5_GAc+w0kA5=UWBv3nxifjXW=_J=qaxDh-zxh0tw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Reporting WAL file containing checkpoint's REDO record in pg_controldata's result  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: Reporting WAL file containing checkpoint's REDO record in pg_controldata's result
Список pgsql-hackers
On Fri, Mar 23, 2012 at 9:41 PM, Robert Haas <robertmhaas@gmail.com> wrote:
> On Fri, Mar 23, 2012 at 6:13 AM, Fujii Masao <masao.fujii@gmail.com> wrote:
>> On Fri, Mar 23, 2012 at 5:56 PM, Magnus Hagander <magnus@hagander.net> wrote:
>>> Might it be a good idea to put it on it's own row instead of changing
>>> the format of an existing row, in order not to break scripts and
>>> programs that are parsing the previous output?
>>
>> Good idea! What row name should we use for the WAL file containing
>> REDO record? "Latest checkpoint's REDO file"?
>
> Sounds good to me.  I like the idea, too.  The status quo is an
> unnecessary nuisance, so this will be a nice usability improvement.

Attached patch adds new row "Latest checkpoint's REDO WAL segment:" into
the result of pg_controldata. I used the term "WAL segment" for the row name
instead of "file" because "WAL segment" is used in another row "Bytes per WAL
segment:". But better name?

Regards,

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

Вложения

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

Предыдущее
От: Billy Earney
Дата:
Сообщение: Re: query cache
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Reporting WAL file containing checkpoint's REDO record in pg_controldata's result