Re: select for update & lock contention

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Ed L(dot)" <pgsql(at)bluepolka(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: select for update & lock contention
Date: 2004-05-06 12:11:47
Message-ID: 25109.1083845507@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Ed L." <pgsql(at)bluepolka(dot)net> writes:
> I think I'm seeing table-level lock contention in the following function

I think you're barking up the wrong tree entirely. There's nothing in
that function that would acquire a conflicting table lock.

I'm wondering about foreign key lock contention, myself. Look to what
the DELETE must do.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Eric Ridge 2004-05-06 14:08:44 Changing the size of a varchar field
Previous Message Bastian 2004-05-06 09:40:13 Re: Verhindern, dass im Mehrbenutzerbetrieb mit veralteten Daten gearbteitet wird