-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
While quite unlikely, it's possible that powa_statements_src returns the same entry pg_stat_statements entry but with duplicated query text, as reported by github user gjedeer. To fix it, simply store one of the possible many query text as all should be semantically equivalent. It's also possible that a duplicated entry is due to a hash collision, happening after an entry is discarded by pg_stat_statements on the remote database, but it seems so unlikely that this possibility is entirely ignored. Thanks to github user gjedeer for helping to diagnose this problem which has existed for a very long time!
- Loading branch information
Showing
2 changed files
with
88 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters