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-613: Postgresql crashes with Segmentation fault when query plan is enabled on large queries #394

Closed hqakhtar closed 1 year ago

hqakhtar commented 1 year ago

The return value for snprintf was incorrectly recorded as plan length. That's been resolved.

As part of this fix, we've also eliminated the possibility of a potential memory leak when plan text was being saved.

codecov[bot] commented 1 year ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (REL_2_STABLE@1617f0d). Click here to learn what that means. The diff coverage is n/a.

@@               Coverage Diff               @@
##             REL_2_STABLE     #394   +/-   ##
===============================================
  Coverage                ?   91.09%           
===============================================
  Files                   ?        3           
  Lines                   ?     1269           
  Branches                ?       34           
===============================================
  Hits                    ?     1156           
  Misses                  ?       92           
  Partials                ?       21           

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