Alvaro Herrera <[EMAIL PROTECTED]> writes: > On Sun, Dec 19, 2004 at 09:52:01AM +0000, Simon Riggs wrote: >> - use a lock mode called Cursor Stability that locks only those rows >> currently being examined by a cursor, those maintaining the lock usage >> of a cursor at a constant level as the cursor moves. The lock mode of >> Repeatable Read *does* lock all rows read
> We can't release the locks until the end of the transaction. Well, what Simon is essentially proposing is that we work around a potential performance issue by exposing a less-clean semantic model to users. I'd prefer to adopt such a thing as a last resort, not a first one. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html