ankane / pghero

A performance dashboard for Postgres
MIT License
8.01k stars 447 forks source link

[Idea] Live queries parameters #495

Closed talski closed 5 months ago

talski commented 5 months ago

Hello, I've noticed that live queries doesn't show query parameters, but in the postgres log, the line right after the query, comes a "DETAIL: parameters" with all the params used in the query.

It would be nice to know those params, so I could analyze the query .

ankane commented 5 months ago

Hi @talski, the data on the Live Queries page comes from pg_stat_activity, which doesn't include the parameters.