percona / pg_stat_monitor

Query Performance Monitoring Tool for PostgreSQL
https://docs.percona.com/pg-stat-monitor/
Other
477 stars 59 forks source link

PG-645: pg_stat_monitor crashes PostgreSQL if there is citus .. #425

Closed codeforall closed 1 year ago

codeforall commented 1 year ago

Do not look for the query in the hash if no query string is provided in the planner hook.

codecov[bot] commented 1 year ago

Codecov Report

Merging #425 (823bfb9) into main (715a4ce) will decrease coverage by 0.32%. Report is 1 commits behind head on main. The diff coverage is 66.66%.

@@            Coverage Diff             @@
##             main     #425      +/-   ##
==========================================
- Coverage   91.02%   90.70%   -0.32%     
==========================================
  Files           3        3              
  Lines        1270     1270              
  Branches       34       35       +1     
==========================================
- Hits         1156     1152       -4     
- Misses         93       96       +3     
- Partials       21       22       +1     
Files Coverage Δ
pg_stat_monitor.c 90.00% <66.66%> (-0.36%) :arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more