Re: enhancing plpgsql debug api - hooks on statements errors and function errors

2023-05-09 Thread Kirk Wolak
On Tue, Apr 25, 2023 at 11:33 AM Pavel Stehule wrote: > Hi > út 25. 4. 2023 v 10:27 odesílatel Pavel Stehule > napsal: > >> Hi >> >> When I implemented profiler and coverage check to plpgsql_check I had to >> write a lot of hard maintaining code related to corect finishing some >> operations (co

Re: enhancing plpgsql debug api - hooks on statements errors and function errors

2023-04-25 Thread Pavel Stehule
Hi út 25. 4. 2023 v 10:27 odesílatel Pavel Stehule napsal: > Hi > > When I implemented profiler and coverage check to plpgsql_check I had to > write a lot of hard maintaining code related to corect finishing some > operations (counter incrementing) usually executed by stmt_end and func_end > ho

enhancing plpgsql debug api - hooks on statements errors and function errors

2023-04-25 Thread Pavel Stehule
Hi When I implemented profiler and coverage check to plpgsql_check I had to write a lot of hard maintaining code related to corect finishing some operations (counter incrementing) usually executed by stmt_end and func_end hooks. It is based on the fmgr hook and its own statement call stack. Can be