Re: contrib Makefiles

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: contrib Makefiles
Дата
Msg-id GNELIHDDFBOCMGBFGEFOMELGCDAA.chriskl@familyhealth.com.au
обсуждение исходный текст
Ответ на Re: contrib Makefiles  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: contrib Makefiles
Список pgsql-hackers
> "Christopher Kings-Lynne" <chriskl@familyhealth.com.au> writes:
> > Is it possible to have two different functions in the .so that
> can be made
> > into two different postgres funtions, both referencing the same .so?
>
> Certainly, what's the problem there?  Offhand I can't think of any
> contrib modules that only define one function...

OK then,

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???

Chris



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: contrib Makefiles
Следующее
От: Joe Conway
Дата:
Сообщение: Re: contrib Makefiles