This is a discussion on Re: Refactoring lock.c within the Pgsql Patches forums, part of the PostgreSQL category; --> Heikki Linnakangas wrote: > There's two almost identical pieces of code in LockRelease and > LockReleaseAll that do the ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Heikki Linnakangas wrote: > There's two almost identical pieces of code in LockRelease and > LockReleaseAll that do the opposite of GrantLock. > > Here's a small patch that replaces those pieces with a static > UnGrantLock function. Applied to HEAD with a few trivial editorial fixes. Thanks for the patch. -Neil ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo@postgresql.org so that your message can get through to the mailing list cleanly |