Re: BUG #2464: 'After' are not called the first time of the user session - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #2464: 'After' are not called the first time of the user session
Date
Msg-id 15902.1149346895@sss.pgh.pa.us
Whole thread Raw
In response to BUG #2464: 'After' are not called the first time of the user session  ("Sebastien MAYER" <sebastien.mayer@briosoft.com>)
List pgsql-bugs
"Sebastien MAYER" <sebastien.mayer@briosoft.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

pgsql-bugs by date:

Previous
From: "Patrick Hayes"
Date:
Subject: BUG #2465: Installation
Next
From: Tom Lane
Date:
Subject: Re: fix for incorrect russian translation