Expose a few more PL/pgSQL functions to debugger plugins.
Tom Lane <tgl@sss.pgh.pa.us>
Expose a few more PL/pgSQL functions to debugger plugins. Add exec_assign_value, exec_eval_datum, and exec_cast_value to the set of functions a PL/pgSQL debugger plugin can conveniently call. This allows more convenient manipulation of the values of PL/pgSQL function variables. Pavel Stehule, reviewed by Aleksander Alekseev and myself Discussion: https://postgr.es/m/CAFj8pRD+dBPU0T-KrkP7ef6QNPDEsjYCejEsBe07NDq8TybOkA@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/pl/plpgsql/src/pl_exec.c | modified | +7 −4 |
| src/pl/plpgsql/src/plpgsql.h | modified | +24 −4 |
Discussion
- proposal: enhancing plpgsql debug API - returns text value of variable content 22 messages · 2020-08-17 → 2022-04-01