Re: Exclusive Locks Taken on User Tables?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Marc <pgsql-general(at)mbreslow(dot)net>
Cc: "Richard Huxton" <dev(at)archonet(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Exclusive Locks Taken on User Tables?
Date: 2007-11-06 20:59:41
Message-ID: 29826.1194382781@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Marc <pgsql-general(at)mbreslow(dot)net> writes:
> My original reason for reaching out to the list was over confusion as to
> when an EXCLUSIVE lock would be taken table level since the documentation
> says this should never happen except to some system catalogs. Is there
> something missing from the documentation?

It's not a lock on a table, as you would soon find out if you were
paying attention to more columns of the pg_locks view. It's a lock
on a row.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Rainer Bauer 2007-11-06 21:03:52 Re: Npsql is much faster than ODBC ?
Previous Message Marc 2007-11-06 20:53:31 Re: Exclusive Locks Taken on User Tables?