| От | Tom Lane |
|---|---|
| Тема | Re: Stored Procedures woes |
| Дата | |
| Msg-id | 15681.1092926157@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Stored Procedures woes (Oliver Elphick <olly@lfix.co.uk>) |
| Список | pgsql-general |
Oliver Elphick <olly@lfix.co.uk> writes:
>> We are using a number of stored procedures that are called often from our
>> client programs.
> Are you somehow setting off an infinite recursion? How is this being
> called?
I doubt it would be an infinite-recursion problem, as that would soon
lead to stack overflow and core dump (or at least very obvious memory
bloat). I'm wondering about inefficient plans being generated for the
queries in the procedure.
> Try putting RAISE NOTICE statements in to track the progress of the
> code.
Right. See also recent discussion on pgsql-performance about
investigating plans used for plpgsql queries.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера