Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix memory leak in pg_query_fingerprint #141

Merged
merged 3 commits into from
Jun 3, 2022
Merged

Conversation

seanlinsley
Copy link
Member

@seanlinsley seanlinsley commented Jun 3, 2022

Before adding the missing free, the new test fails:

Screen Shot 2022-06-03 at 1 37 43 PM

@seanlinsley seanlinsley marked this pull request as ready for review June 3, 2022 19:04
@seanlinsley seanlinsley requested review from lfittl and msakrejda June 3, 2022 19:04
@seanlinsley seanlinsley merged commit 23796ff into 13-latest Jun 3, 2022
@seanlinsley seanlinsley deleted the memory-leak branch June 3, 2022 19:40
lfittl added a commit to pganalyze/collector that referenced this pull request Jun 28, 2022
Relevant changes that apply to the collector:

- Fixes memory leak in pg_query_fingerprint error handling [#141](pganalyze/libpg_query#141)
- Add support for parsing more operators that include a `?` character (special cased to support old pg_stat_statements query texts)
  - ltree extension [#136](pganalyze/libpg_query#136)
  - promscale extension [#133](pganalyze/libpg_query#133)
lfittl added a commit to pganalyze/collector that referenced this pull request Jun 29, 2022
Relevant changes that apply to the collector:

- Fixes memory leak in pg_query_fingerprint error handling [#141](pganalyze/libpg_query#141)
- Add support for parsing more operators that include a `?` character (special cased to support old pg_stat_statements query texts)
  - ltree extension [#136](pganalyze/libpg_query#136)
  - promscale extension [#133](pganalyze/libpg_query#133)
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