2010/4/7 Martijn van Oosterhout <kleptog@svana.org>:
> This may be silly, but did you declare your function to be a V1
> function?
Yes, it is properly declared V1 function. The parameter is a pointer
so as I understand the concept it is used to access some other
processed data than the function result. But still can't get it
right...
>> Also a related question: Is it possible to launch a function like
>> gin_extract_query directly from Postgres? I'ts decralation is:
>>
>> CREATE OR REPLACE FUNCTION gin_extract_tsquery(tsquery, internal,
>> smallint, internal, internal)
>> RETURNS internal AS ....
>>
>> I've tried to find something about "internal" parameters in functions
>> in manual but failed. If it's possible, what would be a working
>> example?
>
> "internal" usually means a "pointer to something you can't make from
> SQL". So you might be able to declare the function, but in no way could
> you actually call it successfully.
Thank you for the answer !