Feature improvement: can we add queryId for pg_catalog.pg_stat_activity view?

From: Yun Li <liyunjuanyong(at)gmail(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Feature improvement: can we add queryId for pg_catalog.pg_stat_activity view?
Date: 2019-03-15 21:54:19
Message-ID: CA+8PKvQnMfOE-c3YLRwxOsCYXQDyP8VXs6CDtMZp1V4=D4LuFA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hey pg developers,

Do you think if we can add queryId into the pg_stat_get_activity function
and ultimatly expose it in the view? It would be easier to track "similar"
query's performance over time easier.

Thanks a lot!
Yun

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Vondra 2019-03-15 22:05:28 Re: seems like a bug in pgbench -R
Previous Message Robert Haas 2019-03-15 21:48:24 Re: "WIP: Data at rest encryption" patch and, PostgreSQL 11-beta3