Adrian Klaver <adrian.klaver@xxxxxxxxxxx> writes: > On 06/26/2014 02:14 AM, Rémi Cura wrote: >> On another internet page (can't find it anymore) somebody mentioned this >> module loading at server startup, one way or another, but gave no >> precision. It seems that the "plpy" python module get loaded by default, >> would'nt it be possible to hack this module to add other import inside it? > In a sense that is what is being suggested above. IIRC, plperl has a GUC you can set to tell it to do things at the time it's loaded (which of course you use in combination with having listed plperl in shared_preload_libraries). There's no reason except lack of round tuits why plpython couldn't have a similar feature. regards, tom lane