Re: FOR SHARE vs FOR UPDATE locks - Mailing list pgsql-hackers

From Tom Lane
Subject Re: FOR SHARE vs FOR UPDATE locks
Date
Msg-id 28702.1164994516@sss.pgh.pa.us
Whole thread Raw
In response to Re: FOR SHARE vs FOR UPDATE locks  ("Joshua D. Drake" <jd@commandprompt.com>)
List pgsql-hackers
"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


pgsql-hackers by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: FOR SHARE vs FOR UPDATE locks
Next
From: Josh Berkus
Date:
Subject: Re: 8.2 Beta3-> RC1 upgrade