[postgis-users] Reloading .so File (Postgresql8.2+)

Peter Tolkewitz peter.tolkewitz at gmx.de
Fri Nov 15 03:20:46 PST 2013


Hello,

is there any way to reload a shared object (.so) file with a C-function into Postgres? Seems that up from Postgres 8.2 the behaviour of LOAD has been changed:

http://www.postgresql.org/docs/8.1/static/xfunc-c.html
If you need to force a reload of an object file, for example after recompiling it, use the LOAD command or begin a fresh session.

http://www.postgresql.org/docs/8.2/static/xfunc-c.html
If you need to force a reload of an object file, for example after recompiling it, begin a fresh session.

What does "begin a fresh session" mean? Neither by starting a new psql session on the command line, nor by restarting PgAdmin3 or reconnecting to the database using the JDBC driver the .so file is re-read.

/Peter


More information about the postgis-users mailing list