pgsql: PL/pgSQL: Add statement ID to statement structures
Started by Peter Eisentrautover 7 years ago1 messagescomitters
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: /messages/by-id/CAFj8pRDRCjN6rpM9ZccU7Ta_afsNX7mg9=n34F+r445Nt9v2tA@mail.gmail.com/
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(+)