public inbox for [email protected]  
help / color / mirror / Atom feed
From: Bruce Momjian <[email protected]>
To: Neil Conway <[email protected]>
Cc: [email protected]
Subject: Re: concurrency control docs error
Date: Mon, 11 Nov 2002 23:45:40 -0500 (EST)
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>

Neil Conway wrote:
> The docs on concurrency control & deadlocks (User's Guide, 9.3.3, CVS
> docs) state the following:
> 
>   Use of explicit locking can cause deadlocks, wherein two (or more)
>   transactions each hold locks that the other wants.
> 
> This isn't completely true, as deadlocks can occur in applications
> that don't use explicit 'LOCK' statements.
> 
> Can someone suggest a better way to phrase the intent of that
> statement?

But it isn't saying there aren't other deadlock cases, just that
explicit locks tend to cause them more frequently.  You can add "Often"
to the front of the sentence.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  [email protected]               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073



view thread (4+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: concurrency control docs error
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox