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

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 53ef6c40f1e7ff6c9ad9a221cd9999dd147ec3a2
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2022-03-31T21:05:47Z
Releases: 15.0
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

PathChange+/−
src/pl/plpgsql/src/pl_exec.c modified +7 −4
src/pl/plpgsql/src/plpgsql.h modified +24 −4

Discussion