proposal - plpgsql unique statement id - Mailing list pgsql-hackers

From Pavel Stehule
Subject proposal - plpgsql unique statement id
Date
Msg-id CAFj8pRDRCjN6rpM9ZccU7Ta_afsNX7mg9=n34F+r445Nt9v2tA@mail.gmail.com
Whole thread Raw
Responses Re: proposal - plpgsql unique statement id  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List pgsql-hackers
Hi

I am try to enhance plpgsql_check about profiler functionality and I have to solve how to identify every plpgsql statement across different sessions. There is lineno, but surely it should not be unique. I propose introduce stmtid to every statement structure. This number will be unique inside function.

Comments, notes?

Regards

Pavel
Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: move PartitionBoundInfo creation code
Next
From: Jeremy Finzel
Date:
Subject: Re: Race condition in WaitForBackgroundWorkerStartup