| От | Tom Lane |
|---|---|
| Тема | Re: PLy_malloc and plperl mallocs |
| Дата | |
| Msg-id | 22139.1290963021@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: PLy_malloc and plperl mallocs (Jan Urbański <wulczer@wulczer.org>) |
| Список | pgsql-hackers |
Jan Urbański <wulczer@wulczer.org> writes:
> I'll do that for PL/Python for now. While on the topic of needless FATAL
> errors, if you try to create a Python 3 function in a session that
> already loaded Python 2, you get a FATAL error with an errhint of
> Start a new session to use a different Python major version.
> If you raise a FATAL error, you don't really have much choice than to
> start a new session, since the current one just got nuked, no? Should
> this be an ERROR?
I believe we decided that it had to be FATAL because the session could
no longer be trusted to execute functions of the other python version
either. Check the archives from when that patch was put in.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера