From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: contrib Makefiles |
Date: | 2002-08-15 14:02:51 |
Message-ID: | 200208151402.g7FE2p910850@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
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" <chriskl(at)familyhealth(dot)com(dot)au> 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
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Greg Copeland | 2002-08-15 14:05:47 | Re: Standard replication interface? |
Previous Message | Tom Lane | 2002-08-15 13:18:30 | Re: Open 7.3 items |