pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephan Szabo <sszabo@megazone.bigpanda.com>
To: Yudha Setiawan <yudha@bonbon.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: LOCK has IGNORED on trigger.
Date: Thu, 4 Sep 2003 08:50:52 -0700 (PDT)
Message-ID: <20030904084956.N37906-100000@megazone.bigpanda.com> (raw)
In-Reply-To: <03be01c372b7$ae0bb3d0$ea00a8c0@yudha>


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.





view thread (3+ messages)  latest in thread

Message-ID: <20030904084956.N37906-100000@megazone.bigpanda.com>
Permalink:  ../20030904084956.N37906-100000@megazone.bigpanda.com/
Also on:    postgresql.org/message-id/20030904084956.N37906-100000@megazone.bigpanda.com

 · 

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: sszabo@megazone.bigpanda.com, yudha@bonbon.net
  Subject: Re: LOCK has IGNORED on trigger.
  In-Reply-To: <20030904084956.N37906-100000@megazone.bigpanda.com>
  References: <03be01c372b7$ae0bb3d0$ea00a8c0@yudha> <20030904084956.N37906-100000@megazone.bigpanda.com>

* 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