Skip to content

Fix and refactor get_histogram_timings#664

Merged
artemgavrilov merged 1 commit into
mainfrom
refactoring
Jun 5, 2026
Merged

Fix and refactor get_histogram_timings#664
artemgavrilov merged 1 commit into
mainfrom
refactoring

Conversation

@artemgavrilov
Copy link
Copy Markdown
Contributor

Use of StringInfoData type to build resulting string fixes overflow for big amount of buckets. Now output is valid for any buckets amount.

PG-0

Description

Links

@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.31%. Comparing base (9ecb420) to head (aee64c2).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #664      +/-   ##
==========================================
- Coverage   86.46%   86.31%   -0.15%     
==========================================
  Files           3        3              
  Lines        1345     1345              
  Branches      217      218       +1     
==========================================
- Hits         1163     1161       -2     
- Misses         86       87       +1     
- Partials       96       97       +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@artemgavrilov artemgavrilov marked this pull request as ready for review June 5, 2026 14:36
Copy link
Copy Markdown
Contributor

@jeltz jeltz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great but had one small improvement you can optionally do.

Comment thread pg_stat_monitor.c Outdated
Comment thread pg_stat_monitor.c
Use of StringInfoData type to build resulting string fixes overflow for
big amount of buckets. Now output is valid for any buckets amount.
@artemgavrilov artemgavrilov merged commit 9e44540 into main Jun 5, 2026
49 of 51 checks passed
@artemgavrilov artemgavrilov deleted the refactoring branch June 5, 2026 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants