Re: update functions locking tables

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Clodoaldo Pinto <clodoaldo(dot)pinto(at)gmail(dot)com>
Cc: "pgsql-general postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: update functions locking tables
Date: 2005-08-30 01:35:02
Message-ID: 15936.1125365702@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Clodoaldo Pinto <clodoaldo(dot)pinto(at)gmail(dot)com> writes:
> I've been trying for 3 days to figure out what is happening to no
> avail. What am i missing about transactions and MVCC? What could make
> a plpgsql update function lock a table?

What is the function doing to the table, exactly? DDL changes generally
take exclusive locks ...

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message wolverine my 2005-08-30 02:02:42 Access more than one database from pgAdmin III
Previous Message Michael Fuhr 2005-08-30 01:35:00 Re: update functions locking tables