How do I create one, such as the tsearch2 function in tsearch2 module. It takes arbitrary number of parameters. The only difference is that it is writtein in C, instead of PL/pgsql.
I looked into the doc, doesn't say much about it.
Thanks
Wei