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 D9F56D1B8B3 for ; Thu, 4 Sep 2003 07:45:32 +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 11013-02 for ; Thu, 4 Sep 2003 04:45:02 -0300 (ADT) Received: from snickers.hotpop.com (snickers.hotpop.com [204.57.55.49]) by svr1.postgresql.org (Postfix) with ESMTP id D5837D1B8EA for ; Thu, 4 Sep 2003 04:44:59 -0300 (ADT) Received: from bonbon.net (kubrick.hotpop.com [204.57.55.16]) by snickers.hotpop.com (Postfix) with SMTP id 0831673D64 for ; Thu, 4 Sep 2003 07:44:40 +0000 (UTC) Received: from yudha (unknown [61.5.113.110]) by smtp-2.hotpop.com (Postfix) with SMTP id AC50F1800B7 for ; Thu, 4 Sep 2003 07:43:11 +0000 (UTC) Message-ID: <03be01c372b7$ae0bb3d0$ea00a8c0@yudha> From: "Yudha Setiawan" To: Subject: LOCK has IGNORED on trigger. Date: Thu, 4 Sep 2003 13:59:21 +0700 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_03AE_01C372EC.BDCE0630" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-HotPOP: ----------------------------------------------- Sent By HotPOP.com FREE Email Get your FREE POP email at www.HotPOP.com ----------------------------------------------- X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.5 tagged_above=0.0 required=5.0 tests=HTML_50_60, HTML_FONT_FACE_ODD, HTML_WITH_BGCOLOR X-Spam-Level: X-Archive-Number: 200309/50 X-Sequence-Number: 10138 This is a multi-part message in MIME format. ------=_NextPart_000_03AE_01C372EC.BDCE0630 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Dear Expert, I got a trouble with LOCK on my table (Inquery table). I've put the LOCK (using select bla.bla for update)=20 on trigger(trigger insert) of Table_A. It's work properly. when i tried "insert into Table_A bla.bla.bla" with more=20 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=20 the other trigger's table. That's LOCK is ignored.=20 Somebody help me please... GOD Bless You All and Bravo Postgre ----------------------------------- Yudha Setiawan. ------=_NextPart_000_03AE_01C372EC.BDCE0630 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Dear Expert,
I got a trouble with LOCK on my tab= le=20 (Inquery table).
I've put the LOCK (using select bla.bla = for=20 update)
on trigger(trigger insert) of Table_A. I= t's work=20 properly.
when i tried "insert into Table_A bla.bl= a.bla"=20 with more
than 5 user in same time
 
  =20 Code...fm_In...fm_Out..fm_Balance
  =20 ---------------------------------
*   009   =20 3       0      = =20 3
#  =20 001    10      0 &nb= sp;     10
*   009   =20 10      0      =  13
#   001   =20 10      0      =  20
*   009   =20 15     =20 0       28
#   001   =20 0       3     &= nbsp; 17
#  =20 001    0      =20 1       16
#  =20 001    0       4&nbs= p;      12
 
But when i put the "Insert into Table_A"= command=20 on
the other trigger's table. That's LOCK i= s=20 ignored.
 
Somebody help me please...
 
GOD Bless You All and Bravo Postgre
-----------------------------------
Yudha Setiawan.
 
 
------=_NextPart_000_03AE_01C372EC.BDCE0630--