pg_stat_monitor icon indicating copy to clipboard operation
pg_stat_monitor copied to clipboard

PG -156: replace query placeholders with actual arguments for prepared statements

Open darkfronza opened this issue 1 year ago • 2 comments

PG-156

Before this PR, pg_stat_monitor was unable to replace query placeholders when tracking prepared statements if pg_stat_monitor.pgsm_normalized_query is off.

With this update pg_stat_monitor now correctly store query argument values for prepared statements.

darkfronza avatar Aug 01 '24 19:08 darkfronza

CLA assistant check
All committers have signed the CLA.

it-percona-cla avatar Aug 01 '24 19:08 it-percona-cla

Codecov Report

Attention: Patch coverage is 92.64706% with 5 lines in your changes missing coverage. Please review.

Project coverage is 85.38%. Comparing base (467394f) to head (43d5548). Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
pg_stat_monitor.c 92.64% 0 Missing and 5 partials :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #481      +/-   ##
==========================================
+ Coverage   84.88%   85.38%   +0.50%     
==========================================
  Files           3        3              
  Lines        1297     1362      +65     
  Branches      198      208      +10     
==========================================
+ Hits         1101     1163      +62     
+ Misses         98       97       -1     
- Partials       98      102       +4     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Aug 09 '24 19:08 codecov[bot]