| От | Jan Urbański |
|---|---|
| Тема | pl/python tracebacks v2 |
| Дата | |
| Msg-id | 4D869052.4020602@wulczer.org обсуждение исходный текст |
| Ответы |
Re: pl/python tracebacks v2
Re: pl/python tracebacks v2 |
| Список | pgsql-hackers |
I finally got around to updating the PL/Python tracebacks patch. The other day I was writing some very simple PL/Python code and the lack of tracebacks is extremely annoying. Getting a TypeError without any line information in a function with 30 lines because there's a %d instead of a %s somewhere in a logging call can make your debugging experience very lousy. Attached is a patch against master, with simplified error forming logic and the traceback in the context field. If you look at the expected regression test output, you will see that the only thing that changes is the presense of tracebacks in context messages. I'll update the commitfest app for the 2011-Next commitfest, but if someone would like to pick this up and include it in the 9.1 PL/Python revamp pack, I'd be thrilled. Cheers, Jan
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера