Memory context at PG_init call ? - Mailing list pgsql-hackers

From Sandro Santilli
Subject Memory context at PG_init call ?
Date
Msg-id 20150623114125.GD5835@localhost
Whole thread Raw
Responses Re: Memory context at PG_init call ?  (Robert Haas <robertmhaas@gmail.com>)
List 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;



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: 9.5 make world failing due to sgml tools missing
Next
From: Heikki Linnakangas
Date:
Subject: Re: pg_rewind failure by file deletion in source server