Memory context at PG_init call ?

From: Sandro Santilli <strk(at)keybit(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Memory context at PG_init call ?
Date: 2015-06-23 11:41:25
Message-ID: 20150623114125.GD5835@localhost
Views: Raw Message | Whole Thread | Download mbox
Thread:
Lists: pgsql-hackers

Empirically, I seem to be getting the _PG_init call for a module while
the active memory context lifetime is that of the function call which
first needed to load the shared object.

Is this the case ? Documented anywhere ?
Initializing memory meant to be alive for the whole lifetime of a backend
in that function is a bit complex if that's confirmed.

--strk;

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2015-06-23 12:19:00 Re: pg_rewind failure by file deletion in source server
Previous Message Peter Eisentraut 2015-06-23 11:23:35 Re: 9.5 make world failing due to sgml tools missing