From: | Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com> |
---|---|
To: | Yudha Setiawan <yudha(at)bonbon(dot)net> |
Cc: | <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: LOCK has IGNORED on trigger. |
Date: | 2003-09-04 15:50:52 |
Message-ID: | 20030904084956.N37906-100000@megazone.bigpanda.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
On Thu, 4 Sep 2003, Yudha Setiawan wrote:
> Dear Expert,
> I got a trouble with LOCK on my table (Inquery table).
> I've put the LOCK (using select bla.bla for update)
> on trigger(trigger insert) of Table_A. It's work properly.
> when i tried "insert into Table_A bla.bla.bla" with more
> than 5 user in same time
>
> Code...fm_In...fm_Out..fm_Balance
> ---------------------------------
> * 009 3 0 3
> # 001 10 0 10
> * 009 10 0 13
> # 001 10 0 20
> * 009 15 0 28
> # 001 0 3 17
> # 001 0 1 16
> # 001 0 4 12
>
> But when i put the "Insert into Table_A" command on
> the other trigger's table. That's LOCK is ignored.
>
> Somebody help me please...
You're probably going to need to provide a standalone example
since at least I'm not entirely trying to do.
From | Date | Subject | |
---|---|---|---|
Next Message | David F. Skoll | 2003-09-04 17:10:34 | Re: Row locking during UPDATE |
Previous Message | Mary Edie Meredith | 2003-09-04 15:35:27 | Seeking information about backup/recovery |