Re: FlexLocks
Kevin Grittner <kevin.grittner@wicourts.gov>
From: "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
To: "Robert Haas" <robertmhaas@gmail.com>, "Tom Lane" <tgl@sss.pgh.pa.us>
Cc: "Simon Riggs" <simon@2ndquadrant.com>, "Alvaro Herrera" <alvherre@commandprompt.com>, "Pg Hackers" <pgsql-hackers@postgresql.org>
Date: 2011-11-16T16:17:42Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Fix copyright notices, other minor editing in new range-types code.
- f1585362856d 9.2.0 cited
Robert Haas <robertmhaas@gmail.com> wrote: > Now maybe there is some better way to do this, but at the moment, > I'm not seeing it. If we call them all LWLocks, but only some of > them support LWLockAcquire(), then that's going to be pretty > weird. Is there any way to typedef our way out of it, such that a LWLock *is a* FlexLock, but a FlexLock isn't a LWLock? If we could do that, you couldn't use just a plain old FlexLock in LWLockAcquire(), but you could do the cleanups, etc., that you want. -Kevin