Re: triggers, transactions and locks

From: "C G" <csgcsg39(at)hotmail(dot)com>
To: sszabo(at)megazone(dot)bigpanda(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: triggers, transactions and locks
Date: 2004-12-06 16:06:42
Message-ID: BAY101-F4283DCCDD95419315ACD40C5B40@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> > Is there a way to use locks within a trigger? My example below gives the
> > error:
>
>It's not the lock that's the problem I think. The begin work is failing
>because you can't start a transaction inside the function. Were you trying
>to release the lock at the commit in the function?
Yes I was using the commit to release the lock.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2004-12-06 16:18:30 Re: Index bloat in 7.2
Previous Message Stephan Szabo 2004-12-06 15:59:04 Re: triggers, transactions and locks