"Christopher Kings-Lynne" <chriskl@familyhealth.com.au> writes:
> The latest patch we submitted to the fulltextindex module improved lots of
> things but something we could not get to work was the apparently correct use
> of the PG_GETARG* macros, etc.
> Whenever we used these macros, we always got 0 or NULL as our values. So,
> we reverted to the trigger->tgargs array.
Trigger functions don't get their arguments the normal way. The GETARG
macros don't know anything about trigger arguments... so the original
code was correct as it was. I haven't had time to look at your patch,
but maybe I should go do that.
regards, tom lane