dbTalk Databases Forums  

[BUGS] BUG #2464: 'After' are not called the first time of the user session

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #2464: 'After' are not called the first time of the user session in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
AT
 
Posts: n/a

Default [BUGS] BUG #2464: 'After' are not called the first time of the user session - 06-03-2006 , 07:30 AM







The following bug has been logged online:

Bug reference: 2464
Logged by: Sebastien MAYER
Email address: sebastien.mayer (AT) briosoft (DOT) com
PostgreSQL version: 8.1.4-1.FC5
Operating system: Fedora Core 5
Description: 'After' are not called the first time of the user
session
Details:

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 ?

seb

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Reply With Quote
  #2  
Old   
AT
 
Posts: n/a

Default Re: [BUGS] BUG #2464: 'After' are not called the first time of the user session - 06-03-2006 , 10:03 AM






"Sebastien MAYER" <sebastien.mayer (AT) briosoft (DOT) com> writes:
Quote:
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

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.