On 18 November 2011 01:20, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Ivan Voras <ivoras(at)freebsd(dot)org> writes:
>> Is there any way to make _PG_init() called earlier, e.g. as soon as
>> the session is established or at database connection time, something
>> like that?
>
> Preload the library --- see shared/local_preload_libraries configuration
> settings.
Ok, thanks!