[BUGS]

Поиск
Список
Период
Сортировка
От Tom Lane
Тема [BUGS]
Дата
Msg-id 15541.1502223315@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [BUGS]  (Andres Freund <andres@anarazel.de>)
Ответы Re: [BUGS] your mail  (Andres Freund <andres@anarazel.de>)
Список pgsql-bugs
Andres Freund <andres@anarazel.de> writes:
> Perhaps, for v11, we should actually make sure there's no memory context
> etc set during _PG_init() to catch such problems earlier?

I don't see much of a way to do that in the "typical" case where
the library load happens as a result of a SQL command.  You can't
just say "oh, we're not in a transaction" and then later "wait,
yes we are".

Maybe we should recommend that extension authors test their libraries
in the preload scenario ...
        regards, tom lane


-- 
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 по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: [BUGS] signal 11 segfaults with parallel workers
Следующее
От: Andres Freund
Дата:
Сообщение: Re: [BUGS] your mail