pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Yudha Setiawan <yudha@bonbon.net>
To: pgsql-admin@postgresql.org
Subject: LOCK has IGNORED on trigger.
Date: Thu, 4 Sep 2003 13:59:21 +0700
Message-ID: <03be01c372b7$ae0bb3d0$ea00a8c0@yudha> (raw)

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...

GOD Bless You All and Bravo Postgre
-----------------------------------
Yudha Setiawan.

view thread (3+ messages)  latest in thread

Message-ID: <03be01c372b7$ae0bb3d0$ea00a8c0@yudha>
Permalink:  ../03be01c372b7$ae0bb3d0$ea00a8c0@yudha/
Also on:    postgresql.org/message-id/03be01c372b7$ae0bb3d0$ea00a8c0@yudha

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: yudha@bonbon.net
  Subject: Re: LOCK has IGNORED on trigger.
  In-Reply-To: <03be01c372b7$ae0bb3d0$ea00a8c0@yudha>
  References: <03be01c372b7$ae0bb3d0$ea00a8c0@yudha>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox