X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 466D4D1B9BE for ; Thu, 4 Sep 2003 15:51:30 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 50886-02 for ; Thu, 4 Sep 2003 12:50:58 -0300 (ADT) Received: from megazone.bigpanda.com (45.mufb.snfc.sffca01r18.dsl.att.net [12.103.249.45]) by svr1.postgresql.org (Postfix) with ESMTP id 154D8D1B574 for ; Thu, 4 Sep 2003 12:50:58 -0300 (ADT) Received: by megazone.bigpanda.com (Postfix, from userid 1001) id 34C82D66C; Thu, 4 Sep 2003 08:50:52 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by megazone.bigpanda.com (Postfix) with ESMTP id 246905C04; Thu, 4 Sep 2003 08:50:52 -0700 (PDT) Date: Thu, 4 Sep 2003 08:50:52 -0700 (PDT) From: Stephan Szabo To: Yudha Setiawan Cc: Subject: Re: LOCK has IGNORED on trigger. In-Reply-To: <03be01c372b7$ae0bb3d0$ea00a8c0@yudha> Message-ID: <20030904084956.N37906-100000@megazone.bigpanda.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/64 X-Sequence-Number: 10152 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.