Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Confusing with commit time usage in logical decoding

Поиск
Список
Период
Сортировка
От Artur Zakirov
Тема Confusing with commit time usage in logical decoding
Дата
Msg-id 56D42918.1010108@postgrespro.ru
обсуждение исходный текст
Ответы Re: Confusing with commit time usage in logical decoding
Список pgsql-hackers
Hello,

I read this message 
http://www.postgresql.org/message-id/56D4197E.9050706@informatik.uni-kl.de

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 по дате отправления: