pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Expose a few more PL/pgSQL functions to debugger plugins.
Date: Thu, 31 Mar 2022 21:05:57 +0000
Message-ID: <E1na1zR-000CqS-1Y@gemulon.postgresql.org> (raw)

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



Message-ID: <E1na1zR-000CqS-1Y@gemulon.postgresql.org>
Permalink:  ../E1na1zR-000CqS-1Y@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1na1zR-000CqS-1Y@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Expose a few more PL/pgSQL functions to debugger plugins.
  In-Reply-To: <E1na1zR-000CqS-1Y@gemulon.postgresql.org>
  References: <E1na1zR-000CqS-1Y@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox