2015-09-27 21:40 GMT+02:00 Jim Nasby <jim.na...@bluetreble.com>: > _PG_fini
It should not work - see a doc If the file includes a function named _PG_fini, that function will be called immediately before unloading the file. Likewise, the function receives no parameters and should return void. Note that _PG_fini will only be called during an unload of the file, not during process termination. (Presently, unloads are disabled and will never occur, but this may change in the future.)