| От | Chris |
|---|---|
| Тема | debugging plpgsql functions |
| Дата | |
| Msg-id | 498A3E4C.6020205@gmail.com обсуждение исходный текст |
| Ответы |
Re: debugging plpgsql functions
|
| Список | pgsql-general |
Hi all, I have a few plpgsql functions to debug to see why they are slow. They consist of a bunch of sql statements using new.* / old.* variables (ie not using "EXECUTE", the sql is being called directly). Is there a way to capture the actual sql that's being executed with variables substituted in, or even an easy way to log the variables being used? I couldn't see anything in the manual but maybe I missed something - any pointers appreciated. I tried http://pgfoundry.org/projects/edb-debugger/ but after loading the module, the functions wouldn't run properly (can't remember the error message but I can do it again if need be). -- Postgresql & php tutorials http://www.designmagick.com/
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера