pgsql: The rolled-back flag on serializable xacts was pointless and red

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: The rolled-back flag on serializable xacts was pointless and red
Дата
Msg-id E1QWnXg-0003JT-JX@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
The rolled-back flag on serializable xacts was pointless and redundant with
the marked-for-death flag. It was only set for a fleeting moment while a
transaction was being cleaned up at rollback. All the places that checked
for the rolled-back flag should also check the marked-for-death flag, as
both flags mean that the transaction will roll back. I also renamed the
marked-for-death into "doomed", which is a lot shorter name.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/264a6b127a918800d9f8bac80b5f4a8a8799d0f1

Modified Files
--------------
src/backend/storage/lmgr/predicate.c      |   52 +++++++++++++---------------
src/include/storage/predicate_internals.h |   11 +++---
2 files changed, 29 insertions(+), 34 deletions(-)


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Make non-MVCC snapshots exempt from predicate locking. Scans wit
Следующее
От: fxjr@pgfoundry.org (User Fxjr)
Дата:
Сообщение: npgsql - Npgsql2: Fixed problem with last update about Password as