Re: Review: Row-level Locks & SERIALIZABLE transactions, postgres vs. Oracle
От
Florian Pflug
Тема
Re: Review: Row-level Locks & SERIALIZABLE transactions, postgres vs. Oracle
Дата
Msg-id
6DF7E9C9-5EEC-4A7E-9C75-97F54DA02E58@phlo.org
Ответ на
Список
Дерево обсуждения
Row-level Locks & SERIALIZABLE transactions, postgres vs. Oracle Florian Pflug <fgp@phlo.org>
Re: Row-level Locks & SERIALIZABLE transactions, postgres vs. Oracle Tom Lane <tgl@sss.pgh.pa.us>
Re: Row-level Locks & SERIALIZABLE transactions, postgres vs. Oracle Florian Pflug <fgp@phlo.org>
Re: Row-level Locks & SERIALIZABLE transactions, postgres
vs. Oracle Robert Haas <robertmhaas@gmail.com>
Re: Row-level Locks & SERIALIZABLE transactions, postgres vs. Oracle Florian Pflug <fgp@phlo.org>
Re: Row-level Locks & SERIALIZABLE transactions, postgres
vs. Oracle Robert Haas <robertmhaas@gmail.com>
Re: Row-level Locks & SERIALIZABLE transactions, postgres vs. Oracle Florian Pflug <fgp@phlo.org>
Re: Row-level Locks & SERIALIZABLE transactions, postgres vs. Oracle Florian Pflug <fgp@phlo.org>
Re: Row-level Locks & SERIALIZABLE transactions, postgres vs. Oracle Florian Pflug <fgp@phlo.org>
Re: Review: Row-level Locks & SERIALIZABLE
transactions, postgres vs. Oracle "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Review: Row-level Locks & SERIALIZABLE transactions,
postgres vs. Oracle Joe Conway <mail@joeconway.com>
Re: Review: Row-level Locks & SERIALIZABLE transactions, postgres vs. Oracle Florian Pflug <fgp@phlo.org>
Re: Review: Row-level Locks & SERIALIZABLE
transactions, postgres vs. Oracle "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Review: Row-level Locks & SERIALIZABLE transactions,
postgres vs. Oracle Andrew Dunstan <andrew@dunslane.net>
Re: Review: Row-level Locks & SERIALIZABLE transactions, postgres vs. Oracle Florian Pflug <fgp@phlo.org>
Re: Row-level Locks & SERIALIZABLE transactions, postgres
vs. Oracle Robert Haas <robertmhaas@gmail.com>
Re: Row-level Locks & SERIALIZABLE transactions,
postgres vs. Oracle "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Row-level Locks & SERIALIZABLE transactions, postgres vs. Oracle Florian Pflug <fgp@phlo.org>
Re: Row-level Locks & SERIALIZABLE transactions, postgres vs. Oracle Greg Stark <gsstark@mit.edu>
Re: Row-level Locks & SERIALIZABLE transactions, postgres vs. Oracle Florian Pflug <fgp@phlo.org>
Re: Row-level Locks & SERIALIZABLE transactions, postgres
vs. Oracle Anssi Kääriäinen <anssi.kaariainen@thl.fi>
Re: Row-level Locks & SERIALIZABLE transactions, postgres
vs. Oracle Nicolas Barbier <nicolas.barbier@gmail.com>
Hi I've updated mvcc.sgml to explain the new serialization conflict rules for row-level locks, and added a paragraph to backend/executor/README that explains the implementation of those. I've chosen backend/executor/README because it already contains a description of UPDATE handling in READ COMMITTED mode, which seemed at least somewhat related. The patch now removes all code dealing with the crosscheck_snapshot, since the RI triggers should now be safe without that. I've also fixed the formatting of multi-line comments to match the coding style. I kept the braces around single-line "if" or "else" statements wherever both "if" and "else" blocks were present and one of them wasn't a single-line block. I think, in addition to the documentation changes this patch contains, that a section on how to write RI triggers in pl/pgsql would be nice to have. It's not strictly part of the documentation of this feature though, more a potential use-case, so I didn't tackle it for the moment. I do hope to find the time to write such a section, though, and if that happens I'll post it as a separate documentation-only patch. I've pushed the changes to the branch serializable_row_locks on git://github.com/fgp/postgres.git and also attached a patch. best regards, Florian Pflug
В списке pgsql-hackers по дате отправления