[lug] postgresql V1 C function extensions on RH 7.3/KRUD 7.3
D. Stimits
stimits at comcast.net
Mon Oct 13 19:41:31 MDT 2003
Bear Giles wrote:
> D. Stimits wrote:
>
> > I've been trying to link with various libraries the are also used on
> > client, but this is server side.
>
>
> Taking it step by step, what are you trying to produce with your link?
>
> > Do I have to
> > link to a .o intermediate object file directly from PostgreSQL source?
>
>
> I've never had to link against the PostgreSQL (server) source.
I finally tracked this down, it had me stumped. There was some leftover
code in a Makefile that was building a standalone module load
tester...and of course the module load tester (which aids checking
loadable modules without bringing down the server if there is a problem)
did not have palloc implemented. Once I removed the old Makefile lines,
it worked.
D. Stimits, stimits AT comcast DOT net
More information about the LUG
mailing list