Re: Advisory locks seem rather broken - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: Advisory locks seem rather broken
Date
Msg-id 4FA2BD08.1060609@agliodbs.com
Whole thread Raw
In response to Re: Advisory locks seem rather broken  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers
> AFAICS you'd either use transactional or session level, but to use
> both seems bizarre. And if you really did need both, you can put a
> wrapper around the function to check whether a session level exists
> before you grant the transaction level lock, or vice versa.

You wouldn't want to *intentionally*.  On a large complex codebase,
though, who knows?


-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com


pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: extending relations more efficiently
Next
From: "Kevin Grittner"
Date:
Subject: Re: "unexpected EOF" messages