On Tue, Jan 27, 2015 at 2:16 PM, Andres Freund <and...@2ndquadrant.com> wrote: > That'd end up essentially being a re-emulation of locks. Don't find that > all that pretty. But maybe we have to go there.
The advantage of it is that it is simple. The only thing we're really giving up is the deadlock detector, which I think isn't needed in this case. > Here's an alternative approach. I think it generally is superior and > going in the right direction, but I'm not sure it's backpatchable. I tend think this is changing too many things to back-patch. It might all be fine, but it's pretty wide-reaching, so the chances of collateral damage seem non-trivial. Even in master, I'm not sure I see the point in rocking the apple cart to this degree. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers