Stefan Kaltenbrunner wrote:
Hi all!

While hacking on some C-level functions I noticed that everytime I replaced the .so file and used CREATE OR REPLACE FUNCTION the backend immediatly crashed.

To test that it was not caused by something my function does (or one of the libaries it links in) I created the following testcase based on the example in the docs:


I think I've seen this before and reported it. Try removing your so file and then copying it, rather than overwriting it. I think dlopen has something funnky going on with inodes; may need to generate a new one. If it is what I think it is, the problem is with libc not postgres.

--
Andrew Chernow
eSilo, LLC
every bit counts
http://www.esilo.com/

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Reply via email to