Re: FOR SHARE vs FOR UPDATE locks
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: "Joshua D. Drake" <jd@commandprompt.com>
Cc: Heikki Linnakangas <heikki@enterprisedb.com>, Alvaro Herrera <alvherre@commandprompt.com>, Simon Riggs <simon@2ndquadrant.com>, pgsql-hackers@postgresql.org
Date: 2006-12-01T17:35:16Z
Lists: pgsql-hackers, pgsql-docs
"Joshua D. Drake" <jd@commandprompt.com> writes: > At what point is the exclusive lock released? When I create a new > savepoint? On COMMIT of the entire transaction? COMMIT, or rollback to a savepoint before the original shared lock was taken. regards, tom lane