| От | Peter Eisentraut |
|---|---|
| Тема | Re: pl/python refactoring |
| Дата | |
| Msg-id | 1295729621.1770.3.camel@vanquo.pezone.net обсуждение исходный текст |
| Ответ на | Re: pl/python refactoring (Jan Urbański <wulczer@wulczer.org>) |
| Ответы |
Re: pl/python refactoring
|
| Список | pgsql-hackers |
On tor, 2011-01-20 at 03:16 +0100, Jan Urbański wrote: > Here's an updated patch series for PL/Python refactoring. It was 16 > patches at first, 8 are committed, 1 got dropped, so we're down to 7. > Refactor PLy_spi_prepare to save two levels of indentation. > > Instead of checking if the arglist is NULL and then if its length is > 0, do it in one step, and outside of the try/catch block. Why is it a good idea to do the PLy_malloc calls outside of the try/catch block? Also, why call them when nargs is 0?
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера