From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: PL/pgSQL: Add statement ID to statement structures
Date: Thu, 24 Jan 2019 21:25:29 +0000
Message-ID: <E1gmmV7-0003jC-Eu@gemulon.postgresql.org> (raw)
PL/pgSQL: Add statement ID to statement structures
This can be used by a profiler as the index for an array of
per-statement metrics.
Author: Pavel Stehule <pavel.stehule@gmail.com>
Reviewed-by: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Discussion: https://www.postgresql.org/message-id/flat/CAFj8pRDRCjN6rpM9ZccU7Ta_afsNX7mg9=n34F+r445Nt9v2tA@mail....
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/bbd5c207b960dd072445a3547f16abea0c27f726
Modified Files
--------------
src/pl/plpgsql/src/pl_comp.c | 6 ++++++
src/pl/plpgsql/src/pl_gram.y | 33 +++++++++++++++++++++++++++++++++
src/pl/plpgsql/src/plpgsql.h | 39 +++++++++++++++++++++++++++++++++++++++
3 files changed, 78 insertions(+)
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: peter@eisentraut.org
Subject: Re: pgsql: PL/pgSQL: Add statement ID to statement structures
In-Reply-To: <E1gmmV7-0003jC-Eu@gemulon.postgresql.org>
References: <E1gmmV7-0003jC-Eu@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