[HACKERS] Trigger problem - conclusion

2007-12-12 Thread Nikolay Grebnev
Good Day, I recently posted a message here ( http://archives.postgresql.org/pgsql-hackers/2007-12/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 %

Re: [HACKERS] Trigger problem - conclusion

2007-12-12 Thread Andrew Dunstan
Nikolay Grebnev wrote: Good Day, I recently posted a message here (http://archives.postgresql.org/pgsql-hackers/2007-12/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

[HACKERS] Trigger problem

2001-03-18 Thread jreniz
Hi friends! I'm working in a trigger and I need to put the result of a query into a variable. That's very easy- apparently! The query has a aggregate function like this: select sum(field) into variable ... and I'm sure that field and variable are int4 type. So, when I run this trigger there

Re: [HACKERS] Trigger problem

2001-03-18 Thread Tom Lane
jreniz [EMAIL PROTECTED] writes: So, when I run this trigger there is a mistake: ''there is no operator '=$' for types 'int4' and 'int4' (My system is 6.5.3) This is an old bug. Update to 7.0.3. It might work to add spaces around the '=' signs in your trigger function, but an update would