okbob / plpgsql_check

plpgsql_check is a linter tool (does source code static analyze) for the PostgreSQL language plpgsql (the native language for PostgreSQL store procedures).
https://groups.google.com/forum/#!forum/postgresql-extensions-hacking
Other
641 stars 53 forks source link

significant refactoring of profiler and tracer #146

Closed okbob closed 1 year ago

okbob commented 1 year ago

This patch does full separation of profiler and tracer code. It introduces new layer pldbgapi2 that is placed between PL debug API and profiler and tracer. Now, the fmgr API is fully integrated and execution of debug hooks of aborted statements is fully based on fmgr API.