Re: [HACKERS] fmgr_oldstyle calls from 8.0.0RC2 trigger

2004-12-29 Thread strk
Sorry, my fault, just mistyped the function name in PG_FUNCTION_INFO_V1() macro. --strk; On Wed, Dec 29, 2004 at 11:08:28AM +0100, strk wrote: > I'm trying to implement a trigger within 8.0.0RC2. > I get a segfault when the trigger is fired, valgrind > reports an illegal read being the line: >

[HACKERS] fmgr_oldstyle calls from 8.0.0RC2 trigger

2004-12-29 Thread strk
I'm trying to implement a trigger within 8.0.0RC2. I get a segfault when the trigger is fired, valgrind reports an illegal read being the line: TriggerData *trigdata = (TriggerData *) fcinfo->context; Valgrind reports: ==941== Use of uninitialised value of size 4 ==941==at 0x3CD9C197