Commit Graph

765 Commits

Author SHA1 Message Date
Diego Fronza
a3a4c99011 PG-197: Fix conflict with pg_stat_statements.
If pg_stat_monitor is loaded after pg_stat_statement, then it will end
up calling standard_planner function twice in the pgss_planner_hook()
function, this will trigger an assertion failure from PostgreSQL as this
function expects an untouched Query* object, and the first call to
standard_planner() done by pg_stat_statements modifies the object.

To address the problem, we avoid calling standard_planner function twice
in pg_stat_monitor, if a previous handler is installed for the hook
planner_hook, then we assume that this previous hook has already called
standard_planner function and don't do it again.
2021-07-26 10:16:29 -04:00
Roma Novikov
66385ab577 Update USER_GUIDE.md
typo fix
2021-06-08 18:19:38 +03:00
Ibrar Ahmed
2200ba8659 Merge branch 'master' of https://github.com/percona/pg_stat_monitor 2021-05-21 21:31:00 +05:00
Ibrar Ahmed
f470ba591a PG-194: PostgreSQL-14 support added. 2021-05-21 21:29:58 +05:00
Ibrar Ahmed
afb552dc8a PG-193: Comment based tags to identify different parameters. 2021-05-19 22:17:07 +05:00
Ibrar Ahmed
67b3d961ca PG-193: Comment based tags to identify different parameters. 2021-05-19 22:15:37 +05:00
Ibrar Ahmed
89614e442b PG-190: Does not show query, if query elapsed time is greater than bucket time. 2021-04-08 15:29:42 +05:00
Ibrar Ahmed
e8bfff127b README Update. 2021-03-31 16:55:38 +05:00
Ibrar Ahmed
1dce75c621 README Update. 2021-03-31 16:50:50 +05:00
Ibrar Ahmed
f42893472a PG-189: Regression crash in case of PostgreSQL 11.
The size of string required to contain the queryid is smaller which
produce the crash.
2021-03-21 00:39:29 +05:00
Ibrar Ahmed
334389c76e PG-188: Added a new column to monitor the query state.
Added missing test case files.
2021-03-21 00:17:17 +05:00
Ibrar Ahmed
f8ed33a92a PG-188: Added a new column to monitor the query state. 2021-03-21 00:04:39 +05:00
Ibrar Ahmed
73fbc7f017 Merge branch 'master' of https://github.com/percona/pg_stat_monitor 2021-03-17 20:46:54 +05:00
Ibrar Ahmed
96a7603aae PG-187: Compilation Error for PostgreSQL 11 and PostgreSQL 12. 2021-03-17 20:42:58 +05:00
Ibrar Ahmed
27c25e5c2a Merge pull request #79 from mu-samoylov/fix_permissions
Fix permissions
2021-03-17 20:12:05 +05:00
Mikhail Samoylov
100f56edca ci: edit cppcheck settings 2021-03-17 18:08:48 +03:00
Mikhail Samoylov
d52d5f8be5 ci: delete sudo from create dir in opt 2021-03-17 17:55:05 +03:00
Ibrar Ahmed
07d32538fc Merge pull request #78 from JiriCtvrtka/PMM-7569-pg-monitor-08
PMM-7569 Fix release notes.
2021-03-17 19:22:53 +05:00
Ibrar Ahmed
e0fc683810 PG-186: Add support to monitor query execution plan. 2021-03-17 18:56:39 +05:00
Ibrar Ahmed
aa0ca050d5 PG-186: Add support to monitor query execution plan.
Fix a regression test case.
2021-03-12 19:09:28 +00:00
Ibrar Ahmed
066162c3f6 PG-186: Add support to monitor query execution plan.
This requires refactoring of code to add this functionality. Along with
that this patch contains regression test cases.
2021-03-12 18:55:12 +00:00
Jiri Ctvrtka
7b7d63be86 PMM-7569 Fix changelog. 2021-03-08 17:46:16 +01:00
Jiri Ctvrtka
22351dfa5f PMM-7569 Fix release notes. 2021-03-08 12:34:36 +01:00
EvgeniyPatlan
8f69daa5dd Merge pull request #77 from EvgeniyPatlan/master
DISTPG-169 Add epoch for rpm
2021-02-25 18:36:25 +02:00
EvgeniyPatlan
a065fcc687 DISTPG-169 Add epoch for rpm 2021-02-25 18:20:11 +02:00
Ibrar Ahmed
1c1ace02a4 Merge pull request #76 from mu-samoylov/PG-184
PG-184: New test case to test the version.
2021-02-24 15:19:01 +05:00
Mikhail Samoylov
15a62d9ad3 PG-184: Test version. 2021-02-23 20:43:22 +03:00
Ibrar Ahmed
5b45951441 PG-183. Move tests to separate directory.
Remove unwanted sql and expected directory.
2021-02-23 16:23:19 +00:00
Ibrar Ahmed
35b72111a0 Merge pull request #75 from mu-samoylov/PG-183
PG-183
2021-02-23 21:18:18 +05:00
Mikhail Samoylov
2e3cba343f PG-183. Move tests to separate directory 2021-02-20 23:17:34 +03:00
Ibrar Ahmed
f8b13d706a Update RELEASE_NOTES.md 2021-02-17 20:27:31 +05:00
Ibrar Ahmed
4d23f750d5 Update RELEASE_NOTES.md 2021-02-17 20:27:13 +05:00
Ibrar Ahmed
28aaec15a4 Update USER_GUIDE.md 2021-02-17 20:07:12 +05:00
Ibrar Ahmed
da13166849 Update USER_GUIDE.md 2021-02-17 20:01:34 +05:00
Ibrar Ahmed
aab07d9a79 Merge branch 'master' of https://github.com/percona/pg_stat_monitor 2021-02-17 14:44:54 +00:00
Ibrar Ahmed
cabab69b76 PG-147: Store top query, instead of parent query. 2021-02-17 14:43:00 +00:00
Ibrar Ahmed
fd34a056a3 Update USER_GUIDE.md 2021-02-17 18:27:56 +05:00
Ibrar Ahmed
6aa1b2e7b6 PG-182: Added a new option for the query buffer overflow. 2021-02-17 13:08:39 +00:00
Ibrar Ahmed
0c9c25fbd9 PG-181: Segmentation fault in case of track_utility is ON. 2021-02-16 16:46:32 +00:00
Ibrar Ahmed
b115d748a8 PG-179. Skip lines for checking, and badge to README.
Patch By:  Mikhail Samoylov
2021-02-16 12:46:53 +00:00
Ibrar Ahmed
963e509c65 PG-180: Relations column is not showing all the relations in case of PostgreSQL Version 11. 2021-02-16 12:35:33 +00:00
Ibrar Ahmed
a27a3798aa PG-178: CI with github for PostgreSQL-11 and 12. 2021-02-15 17:23:44 +00:00
Ibrar Ahmed
e69465636d PG-180: Relations column is not showing all the relations in case of PostgreSQL Version 11. 2021-02-15 14:26:45 +00:00
Ibrar Ahmed
9479d1f9fa PG-178: Test cases fixes. 2021-02-15 13:41:37 +00:00
Ibrar Ahmed
50483035d1 PG-178: CI with github for PostgreSQL-11 and 12. 2021-02-15 13:19:53 +00:00
Ibrar Ahmed
a222adc587 PG-178: Test cases fixes. 2021-02-15 13:08:08 +00:00
Ibrar Ahmed
d3278c0e4c PG-178: Test cases fixes. 2021-02-15 12:29:03 +00:00
Ibrar Ahmed
a48538523a PG-178: Test cases fixes. 2021-02-15 11:01:15 +00:00
Ibrar Ahmed
bdb1ff0c6f Merge pull request #73 from mu-samoylov/PG-178_ci
PG-178. CI with github actions
2021-02-13 00:31:20 +05:00
Mikhail Samoylov
b3c38145f6 PG-178. CI with github actions 2021-02-12 21:35:19 +03:00