Is CurrentMemoryContext a postgres symbol that I can link against? Sorry if this is not a postgres question, it may be down to my ignorance of C, perl or something else. I've got a bit of code (a stemmer written in C) that I want to make accessable to postgres, as a .so, and perl. The .so bit works, but I'm trying to now build the Perl module calling the C code. I'm getting Undefined symbol "CurrentMemoryContext" I can see this symbol refered to in palloc.h but beond that I'm stuck. Bob Parkinson [EMAIL PROTECTED] ------------------------------------------------------------------ Technical Manager: Biome http://biome.ac.uk/ Greenfield Medical Library, Queens Medical Centre, Nottingham. 0115 9249924 x 42059 ------------------------------------------------------------------ We are stardust