Re: XLOG_PARAMETER_CHANGE handling of wal_log_hints

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: XLOG_PARAMETER_CHANGE handling of wal_log_hints
Дата
Msg-id CAB7nPqT9ALQ3e8+CNY1g=ubsKHRSC5UFBh4BSmu12pYHcMzy=Q@mail.gmail.com
обсуждение исходный текст
Ответ на XLOG_PARAMETER_CHANGE handling of wal_log_hints  (Petr Jelinek <petr@2ndquadrant.com>)
Ответы Re: XLOG_PARAMETER_CHANGE handling of wal_log_hints  (Petr Jelinek <petr@2ndquadrant.com>)
Список pgsql-hackers
On Wed, Jan 7, 2015 at 4:24 AM, Petr Jelinek <petr@2ndquadrant.com> wrote:
> Hi,
>
> when I was fixing how commit_ts handles the XLOG_PARAMETER_CHANGE I noticed
> that for wal_log_hints we assign the value in ControFile to current value
> instead of value that comes from WAL.
>
> ISTM it has just information value so it should not have any practical
> impact, but it looks like a bug anyway so here is simple patch to change
> that.
Right. That's something that should get fixed in 9.4 as well..
        ControlFile->track_commit_timestamp = track_commit_timestamp;
The new value of track_commit_timestamp should be taken as well from
xlrec on master btw.
-- 
Michael



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Updating copyright notices to 2015 for PGDG
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Updating copyright notices to 2015 for PGDG