On Thursday, July 16th, 2026 at 11:56 PM, solai v <solai.cdac@gmail.com> wrote:
> I would like to suggest that it may also be worth considering exposing
> the database name (datname) in addition to datid for better
> observability and easier interpretation by DBAs as a future
> enhancement, although the current implementation is functionally
> correct.
Thanks for testing the patch.
Adding datname is a good idea and follows the precedent of
pg_stat_activity, pg_replication_slots, and pg_prepared_xacts. The
attached v2 adds datname.
--
Scott Ray