Michael Fuhr <[EMAIL PROTECTED]> writes: > I see that both of your Perl version strings have "thread-multi" > whereas neither of mine do. I don't know if that's relevant, but > it's something different about the Perl builds.
Hm. I also have a 5.8.7-no-threads Perl build on HPPA. I hadn't tried that because that platform sucks at debugging shared libraries. But building there now to see if I can reproduce the problem. > You're doing the reconnect, right? Sure. It seems perfectly clear that this has something to do with being the first call in a session. (The validator function would also count as the first call, which explains your previous Solaris results.) One thing I was kind of wondering about (this will betray the fact that I haven't really studied Perl since it was Perl 4) is what are the namespace issues for ::mksafefunc? In particular, could the inner invocation of foo() be executing in some context that makes the original definition of mksafefunc inaccessible? And why, if we are careful to declare mksafefunc with ::, don't we call it with :: too? regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq