Re: tracking commit timestamps

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: tracking commit timestamps
Дата
Msg-id CA+TgmobVyvGML-9Sc0TxGxKSigBtKzCWpuvpMtMB4PEsLqHzng@mail.gmail.com
обсуждение исходный текст
Ответ на Re: tracking commit timestamps  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: tracking commit timestamps  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
On Mon, Dec 1, 2014 at 5:34 PM, Alvaro Herrera <alvherre@2ndquadrant.com> wrote:
> I made two more changes:
> 1. introduce newestCommitTs.  Original code was using lastCommitXact to
> check that no "future" transaction is asked for, but this doesn't really
> work if a long-running transaction is committed, because asking for
> transactions with a higher Xid but which were committed earlier would
> raise an error.

I'm kind of disappointed that, in spite of previous review comments,
this got committed with extensive use of the CommitTs naming.  I think
that's confusing, but it's also something that will be awkward if we
want to add other data, such as the much-discussed commit LSN, to the
facility.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Removing INNER JOINs
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Removing INNER JOINs