On Tue, Aug 8, 2017 at 9:51 PM, Andres Freund <andres@anarazel.de> wrote:
> Perhaps, for v11, we should actually make sure there's no memory context
> etc set during _PG_init() to catch such problems earlier? It's a bit
> nasty to only see them if the shared library is preloaded and/or
> parallelism is in use.
Yeah, some prevention like that would be a good idea for module
developers. We could also check for a higher-level thing like being
sure that there is no transaction context?
--
Michael
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs