Small typo in timeline.h regarding the meaning of infinity for timeline history entry

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Small typo in timeline.h regarding the meaning of infinity for timeline history entry
Дата
Msg-id CAB7nPqSSzK0Pgqxg6D+LzQEmaARVktYTBZq9QCQ5+hDuKRAFbQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: Small typo in timeline.h regarding the meaning of infinity for timeline history entry  (Fujii Masao <masao.fujii@gmail.com>)
Список pgsql-hackers
Hi all,

timeline.h quotes that the end point of timeline history entry means
infinity when its value is 0. But that's not completely true, I think
that what is meant here is InvalidXLogRecPtr:
 {
        TimeLineID      tli;
        XLogRecPtr      begin;                  /* inclusive */
-       XLogRecPtr      end;                    /* exclusive, 0 means
infinity */
+       XLogRecPtr      end;                    /* exclusive,
InvalidXLogRecPtr means
+                                                                * infinity */
 } TimeLineHistoryEntry;

And the code leads into this direction as well.
Regards,
--
Michael

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Use pg_rewind when target timeline was switched
Следующее
От: Fabien COELHO
Дата:
Сообщение: Re: checkpointer continuous flushing