Yes, you can optionally specify the symbol to find in the *.so file as part of the CREATE FUNCTION command.
--------------------------------------------------------------------------- Tom Lane wrote: > "Christopher Kings-Lynne" <[EMAIL PROTECTED]> writes: > > I guess my question would be that currently fulltextindex generates SQL like > > this: > > > create function fti() returns opaque as > > '$libdir/fti' > > language 'C'; > > > So it references the fti.so, but where does it say what function to actually > > run in fti.so? Or is it assumed in C functions that the function to call in > > the shared object is the same as the name of the function??? > > That's the assumption unless you specify differently. Time to reread > the CREATE FUNCTION man page ... > > regards, tom lane > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster > -- Bruce Momjian | http://candle.pha.pa.us [EMAIL PROTECTED] | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073 ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])