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
Hi guys,
The fulltextindex Makefile looks like this:
subdir = contrib/fulltextindex
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
MODULE_big = fti
OBJS = list.o chtbl.o fti.o
DATA_built = fti.sql
DOCS = README.fti
SCRIPTS = fti.pl
include
Christopher Kings-Lynne writes:
How can I modify it to build two different C files into two different .so's?
That is next to impossible in the current setup.
--
Peter Eisentraut [EMAIL PROTECTED]
---(end of broadcast)---
TIP 1: subscribe
-Lynne
Cc: Hackers
Subject: Re: [HACKERS] contrib Makefiles
Christopher Kings-Lynne writes:
How can I modify it to build two different C files into two
different .so's?
That is next to impossible in the current setup.
--
Peter Eisentraut [EMAIL PROTECTED
Christopher Kings-Lynne [EMAIL PROTECTED] 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
Christopher Kings-Lynne [EMAIL PROTECTED] 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
Christopher Kings-Lynne wrote:
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
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