Unix Technical Forum

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

This is a discussion on BUG #2464: 'After' are not called the first time of the user session within the pgsql Bugs forums, part of the PostgreSQL category; --> The following bug has been logged online: Bug reference: 2464 Logged by: Sebastien MAYER Email address: sebastien.mayer@briosoft.com PostgreSQL version: ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Bugs

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 11:02 AM
Sebastien MAYER
 
Posts: n/a
Default BUG #2464: 'After' are not called the first time of the user session


The following bug has been logged online:

Bug reference: 2464
Logged by: Sebastien MAYER
Email address: sebastien.mayer@briosoft.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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-10-2008, 11:02 AM
Tom Lane
 
Posts: n/a
Default Re: BUG #2464: 'After' are not called the first time of the user session

"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

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:48 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com