Thread: pgsql: Expose a few more PL/pgSQL functions to debugger plugins.

pgsql: Expose a few more PL/pgSQL functions to debugger plugins.

From
Tom Lane
Date:
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/53ef6c40f1e7ff6c9ad9a221cd9999dd147ec3a2

Modified Files
--------------
src/pl/plpgsql/src/pl_exec.c | 11 +++++++----
src/pl/plpgsql/src/plpgsql.h | 28 ++++++++++++++++++++++++----
2 files changed, 31 insertions(+), 8 deletions(-)