Unix Technical Forum

Trigger problem - conclusion

This is a discussion on Trigger problem - conclusion within the pgsql Hackers forums, part of the PostgreSQL category; --> Good Day, I recently posted a message here ( http://archives.postgresql.org/pgsql...2/msg00340.php ) that the trigger does not work as it ...


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

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-15-2008, 10:37 PM
Nikolay Grebnev
 
Posts: n/a
Default Trigger problem - conclusion

Good Day,

I recently posted a message here (
http://archives.postgresql.org/pgsql...2/msg00340.php) that the
trigger does not work as it should from time to time. Now the trigger works
on C, before It was on TCL and it had the same problem.
As the trigger works all right in 99.999 % cases (or even more) then we can
make a conclusion that the trigger is written all right. And it was written
in complete accordance with the documentation that is possible to find.
I suggest to write down in documentation for PostgreSQL, that during big
loads triggers can fail in some cases.

Nik

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-15-2008, 10:37 PM
Andrew Dunstan
 
Posts: n/a
Default Re: Trigger problem - conclusion



Nikolay Grebnev wrote:
> Good Day,
>
> I recently posted a message here
> (http://archives.postgresql.org/pgsql...2/msg00340.php)
> that the trigger does not work as it should from time to time. Now the
> trigger works on C, before It was on TCL and it had the same problem.
> As the trigger works all right in 99.999 % cases (or even more) then
> we can make a conclusion that the trigger is written all right. And it
> was written in complete accordance with the documentation that is
> possible to find.
> I suggest to write down in documentation for PostgreSQL, that during
> big loads triggers can fail in some cases.
>
>


I think you need to provide a reproducable, self-contained test case, if
possible.

Your previous mail said:

> In php where the queries are formed we see that the query is sent for
> execution and executed ant the base was modified, but the trigger
> seems just to skip it (does not work with the query).


It would be far better to check that the statement has executed in the
log, after turning on log_statement or log_min_duration_statement.

Does it fail in inserts, updates, deletes, or all three?

What platform are you using?

And why are you compiling with -O3?

cheers

andrew


---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

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 05:36 AM.


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