Re: Session variables and C functions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ivan Voras <ivoras(at)freebsd(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Session variables and C functions
Date: 2011-11-18 00:20:01
Message-ID: 14644.1321575601@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ivan Voras 2011-11-18 00:23:17 Re: Session variables and C functions
Previous Message Ivan Voras 2011-11-18 00:08:08 Re: Session variables and C functions