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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Expose a few more PL/pgSQL functions to debugger plugins.
Date: 2022-03-31 21:05:57
Message-ID: E1na1zR-000CqS-1Y@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2022-03-31 22:29:23 pgsql: Keep plpgsql.h C++-clean.
Previous Message Andrew Dunstan 2022-03-31 19:45:44 pgsql: Fix comments with "a expression"