plpython error logs

Поиск
Список
Период
Сортировка
От P. Scott DeVos
Тема plpython error logs
Дата
Msg-id 43DF808A.6030908@countrysidetechnology.com
обсуждение исходный текст
Ответы Re: plpython error logs  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hey all

When using the Fedora Core 4 rpms for plpython, I find that when an
error is raised, the error logger does not report the line number of the
python function where the error was raised which makes debugging the
functions very difficult.

Using the native Windows installer, the line number is reported.

I have tried changing the log level to debug5 and raising the verbosity
which gives the line number of the plpython.c module that reports the
error, but still does not give the line number of the actual plpython code.

Does anyone know how to enable this feature?  Even better would be to
get the entire traceback to be logged.

Thanks,

Scott



В списке pgsql-general по дате отправления:

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: How to define variables in psql scripts?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: 8.0.3 regexp_replace()...