Re: Deferred constraints and locks...

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Nathan Wilhelmi <wilhelmi(at)ucar(dot)edu>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Deferred constraints and locks...
Date: 2008-02-12 22:00:09
Message-ID: 3428.1202853609@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Nathan Wilhelmi <wilhelmi(at)ucar(dot)edu> writes:
> Tom Lane wrote:
>> Insert statements would naturally take RowExclusiveLock, but that
>> doesn't block other DML operations. So the question is what *else*
>> are you doing?

> Good question, is there anyway to figure out which rows are locked?

RowExclusiveLock is a table-level lock, not a lock on a specific row.
See
http://www.postgresql.org/docs/8.2/static/explicit-locking.html

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2008-02-12 22:05:47 Re: deadlock while re-indexing table
Previous Message Robert Treat 2008-02-12 21:01:20 Re: [GENERAL] end of life for pg versions...