TransactionIdIsActive() has long been unused

Поиск
Список
Период
Сортировка
От Andres Freund
Тема TransactionIdIsActive() has long been unused
Дата
Msg-id odgftbtwp5oq7cxjgf4kjkmyq7ypoftmqy7eqa7w3awnouzot6@hrwnl5tdqrgu
обсуждение исходный текст
Ответы Re: TransactionIdIsActive() has long been unused
Список pgsql-hackers
Hi,

While looking at Tomas' NUMA patchset I got curious what we use
TransactionIdIsActive() for (it's modified in the patchset). Turns out we
don't. And haven't for a long while, the last use was removed in

commit bb38fb0d43c
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date:   2014-05-15 16:37:50 +0300

    Fix race condition in preparing a transaction for two-phase commit.

Seems like we should just remove TransactionIdIsActive()?

Greetings,

Andres Freund



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