Re: [BUGS] signal 11 segfaults with parallel workers
От | Andres Freund |
---|---|
Тема | Re: [BUGS] signal 11 segfaults with parallel workers |
Дата | |
Msg-id | 20170808195747.4ki4gzxkqimbev6m@alap3.anarazel.de обсуждение исходный текст |
Ответ на | Re: [BUGS] signal 11 segfaults with parallel workers (Michael Paquier <michael.paquier@gmail.com>) |
Ответы |
Re: [BUGS] signal 11 segfaults with parallel workers
|
Список | pgsql-bugs |
On 2017-08-08 21:55:50 +0200, Michael Paquier wrote: > 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? Not quite sure what you mean by that? And if you just mean to ensure that _PG_init() is called outside of a transaction - how? We load shared libraries on demand when they're used - and that'll frequently be in a transaction? - Andres -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs
В списке pgsql-bugs по дате отправления: