Re: Advisory locks seem rather broken

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Advisory locks seem rather broken
Date: 2012-05-03 17:14:48
Message-ID: 4FA2BD08.1060609@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kevin Grittner 2012-05-03 17:16:21 Re: "unexpected EOF" messages
Previous Message Stephen Frost 2012-05-03 17:11:24 Re: extending relations more efficiently