| От | Neil Conway |
|---|---|
| Тема | Re: pgsql: Index: src/pl/plpython/plpython.c |
| Дата | |
| Msg-id | 43B45B2F.50202@samurai.com обсуждение исходный текст |
| Ответ на | pgsql: Index: src/pl/plpython/plpython.c (neilc@postgresql.org (Neil Conway)) |
| Список | pgsql-committers |
Neil Conway wrote: > Log Message: > ----------- > Index: src/pl/plpython/plpython.c > =================================================================== [...] *sigh* Sorry for fat-fingering that: "cvs ci -F ~/the.patch" rather than "cvs ci -F ~/commit_msg" The commit message should have been: In PLy_spi_execute_plan(), PL/Python invokes the type input function for a Postgres datatype. The type input function might raise an exception via elog, which will cause a Python reference leak (the reference count a temporary Python object will not be decremented). Therefore, enclose the call to the input function in a PG_TRY() block and decrement the refcount on the object using PG_CATCH(). -Neil
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера