Skip site navigation (1) Skip section navigation (2)

Re: BUG #2464: 'After' are not called the first time of the user session

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Sebastien MAYER" <sebastien(dot)mayer(at)briosoft(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #2464: 'After' are not called the first time of the user session
Date: 2006-06-03 15:01:35
Message-ID: 15902.1149346895@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
"Sebastien MAYER" <sebastien(dot)mayer(at)briosoft(dot)com> writes:
> I use Trigger after create/modif/delete of records in a table.
> In this Trigger, i call a function in a Clib i wrote to send an UDP datagram
> to signal users of a table modification.
> They update their screen without intervention.
> I make function with success for some time.
> The code in the function has been separately tested (it is so simple code
> anyway..).
> For each session, the first creat/modif/delete is not reported with the UDP
> datagram.
> Is it a known bug ?

I'll bet lunch it's a bug in your trigger code.  You really think we'd
not have noticed if there were a generic problem of this description?

			regards, tom lane

In response to

pgsql-bugs by date

Next:From: Tom LaneDate: 2006-06-03 16:51:47
Subject: Re: fix for incorrect russian translation
Previous:From: P.P.S. NarayanDate: 2006-06-03 14:04:52
Subject: BUG #2466: lock issues...

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group