Re: FTI contrib - Mailing list pgsql-hackers

From Tom Lane
Subject Re: FTI contrib
Date
Msg-id 26955.997152183@sss.pgh.pa.us
Whole thread Raw
In response to FTI contrib  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Responses Re: FTI contrib
List pgsql-hackers
"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


pgsql-hackers by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: FTI contrib
Next
From: Bruce Momjian
Date:
Subject: Re: Planned change in initdb-time OID allocation