Re: CommitFest wrap-up

Поиск
Список
Период
Сортировка
Искать
От
Florian Pflug
Тема
Re: CommitFest wrap-up
Дата
Msg-id
2850E4B6-14DB-4D72-A4D4-2377A9826617@phlo.org
Ответ на
Список
Дерево обсуждения
CommitFest wrap-up Robert Haas <robertmhaas@gmail.com>
Re: CommitFest wrap-up Florian Pflug <fgp@phlo.org>
Re: CommitFest wrap-up Robert Haas <robertmhaas@gmail.com>
Re: CommitFest wrap-up Florian Pflug <fgp@phlo.org>
Serializable lock consistency (was Re: CommitFest wrap-up) Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Serializable lock consistency (was Re: CommitFest wrap-up) Florian Pflug <fgp@phlo.org>
Re: Serializable lock consistency (was Re: CommitFest wrap-up) Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Serializable lock consistency (was Re: CommitFest wrap-up) Florian Pflug <fgp@phlo.org>
Re: CommitFest wrap-up Robert Haas <robertmhaas@gmail.com>
Re: CommitFest wrap-up Florian Pflug <fgp@phlo.org>
Re: CommitFest wrap-up Robert Haas <robertmhaas@gmail.com>
Re: CommitFest wrap-up Florian Pflug <fgp@phlo.org>
Re: CommitFest wrap-up David Fetter <david@fetter.org>
Re: CommitFest wrap-up Robert Haas <robertmhaas@gmail.com>
Re: CommitFest wrap-up Andrew Dunstan <andrew@dunslane.net>
Re: CommitFest wrap-up Robert Haas <robertmhaas@gmail.com>
Re: CommitFest wrap-up Josh Berkus <josh@agliodbs.com>
Re: CommitFest wrap-up Robert Haas <robertmhaas@gmail.com>
Re: CommitFest wrap-up Greg Smith <greg@2ndquadrant.com>
Re: CommitFest wrap-up Robert Haas <robertmhaas@gmail.com>
Re: CommitFest wrap-up Tom Lane <tgl@sss.pgh.pa.us>
Re: CommitFest wrap-up Greg Smith <greg@2ndquadrant.com>
Re: CommitFest wrap-up Robert Haas <robertmhaas@gmail.com>
Re: CommitFest wrap-up Tom Lane <tgl@sss.pgh.pa.us>
Re: CommitFest wrap-up Robert Haas <robertmhaas@gmail.com>
Re: CommitFest wrap-up Robert Haas <robertmhaas@gmail.com>
Re: CommitFest wrap-up Tom Lane <tgl@sss.pgh.pa.us>
Re: CommitFest wrap-up Dimitri Fontaine <dimitri@2ndQuadrant.fr>
Re: CommitFest wrap-up "David E. Wheeler" <david@kineticode.com>
Re: CommitFest wrap-up Dimitri Fontaine <dimitri@2ndQuadrant.fr>
On Dec14, 2010, at 15:01 , Robert Haas wrote:
> On Tue, Dec 14, 2010 at 7:51 AM, Florian Pflug  wrote:
>>> - serializable lock consistency - I am fairly certain this needs
>>> rebasing.  I don't have time to deal with it right away.  That sucks,
>>> because I think this is a really important change.
>> I can try to find some time to update the patch if it suffers from bit-rot. Would that help?
> 
> Yes!

I've rebased the patch to the current HEAD, and re-run my FK concurrency test suite,
available from https://github.com/fgp/fk_concurrency, to verify that things still work.

I've also asserts to the callers of heap_{update,delete,lock_tuple} to verify (and document)
that update_xmax may only be InvalidTransactionId if a lockcheck_snapshot is passed to
heap_{update,delete,lock_tuple}.

Finally, I've improved the explanation in src/backend/executor/README of how row locks and
REPEATABLE READ transactions interact, and tried to state the guarantees provided by
FOR SHARE and FOR UPDATE locks more precisely.

I've published my work to https://github.com/fgp/postgres/tree/serializable_lock_consistency,
and attached an updated patch. I'd be happy to give write access to that GIT repository
to anyone who wants to help getting this committed.

best regards,
Florian Pflug
В списке pgsql-hackers по дате отправления
От: David Christensen
Дата:
От: Greg Smith
Дата:
FAQ