Confusing with commit time usage in logical decoding

Поиск
Список
Период
Сортировка
Hello,

I read this message 
http://www.postgresql.org/message-id/[email protected]

Is this a bug or a typo? In DecodeCommit() in decode.c instead of:

if (parsed->xinfo & XACT_XINFO_HAS_ORIGIN)
{origin_lsn = parsed->origin_lsn;commit_time = parsed->origin_timestamp;
}

should be:

if (parsed->xinfo & XACT_XINFO_HAS_ORIGIN)
{origin_lsn = parsed->origin_lsn;commit_time = parsed->origin_timestamp;
}
elsecommit_time = parsed->xact_time;

-- 
Artur Zakirov
Postgres Professional: http://www.postgrespro.com
Russian Postgres Company



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

Предыдущее
От: Alexander Korotkov
Дата:
Сообщение: Re: WIP: Access method extendability
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Proposal: "Causal reads" mode for load balancing reads without stale data