Expose a few more PL/pgSQL functions to debugger plugins.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 31 Mar 2022 21:05:47 +0000 (17:05 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 31 Mar 2022 21:05:47 +0000 (17:05 -0400)
commit53ef6c40f1e7ff6c9ad9a221cd9999dd147ec3a2
treeb203532a3150a1e7a28b86fc3ebc37e9b9a99986
parent9f91344223aad903ff70301f40183691a89f6cd4
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
src/pl/plpgsql/src/pl_exec.c
src/pl/plpgsql/src/plpgsql.h