Commit Graph

454 Commits

Author SHA1 Message Date
Ibrar Ahmed
774488f309 PG-382: Adjust the maximum value for histogram buckets.
Fix regression test cases.
2022-05-26 17:22:29 +00:00
Ibrar Ahmed
4bf7b80c8a Merge pull request #221 from ibrarahmad/PG-382
PG-382: Adjust the maximum value for histogram buckets.
2022-05-26 21:39:07 +05:00
Kai Wagner
71b70dac7f Merge pull request #237 from capri1989/PG-375
PG-375: only run code coverage test on merge
2022-05-25 11:51:25 +02:00
Ibrar Ahmed
13eedd579e PG-382: Adjust the maximum value for histogram buckets.
There was no maximum limit set for the number of maximum histograms
bucket, which can lead to a crash in case of higher value.

PG-382: Adjust the maximum value for histogram buckets.

Fix the regression issue related to GUC and set the maximum
buckets value correctly.

PG-382: Adjust the maximum value for histogram buckets.

Fix the TAP test cases.
2022-05-24 17:50:07 +00:00
Kai Wagner
233a578796 PG-375: only run code coverage test on merge
Signed-off-by: Kai Wagner <kai.wagner@percona.com>
2022-05-24 14:02:48 +02:00
Kai Wagner
23859b5a01 Merge pull request #232 from ibrarahmad/REMOTE-PG-417
PG-417: Replace 'CREATE OR REPLACE' with 'CREATE' for extension.
2022-05-23 13:23:59 +02:00
Ibrar Ahmed
a59bca088a PG-417: Replace 'CREATE OR REPLACE' with 'CREATE' for extension.
While analyzing the pg_stat_monitor installation scripts I found several
vulnerabilities. pg_stat_monitor uses CREATE OR REPLACE to install its
functions which is a security hazard. An attacker can precreate the functions
have a superuser install the extension and after installation the attacker
can switch out the function with a malicious version since he would still
be the owner of the function. Instead of CREATE OR REPLACE the installation
script should use plain CREATE to prevent this attack.

For reference
https://www.postgresql.org/docs/current/extend-extensions.html#EXTEND-EXTENSIONS-SECURITY
https://github.com/timescale/pgspot
2022-05-22 03:44:32 +00:00
Kai Wagner
da6661fa66 PG-412: added 'Get engaged' to the welcome page (#230)
Signed-off-by: Kai Wagner <kai.wagner@percona.com>
2022-05-20 12:23:55 -05:00
Kai Wagner
f0af45b3fd Merge pull request #226 from fmbiete/patch-1
PG-289 - Don't fail to build with C11 compilers
2022-05-17 09:01:10 +02:00
Francisco Miguel Biete
519210909a Support C11 2022-05-13 09:50:39 +01:00
Francisco Miguel Biete
1596208b64 Support C11 2022-05-13 09:47:13 +01:00
Anastasia Alexandrova
9da7c8f583 PG-411 Updated the list of primary keys (#225)
modified:   docs/USER_GUIDE.md
2022-05-10 23:07:23 +05:00
Kai Wagner
1557ff3a9e PG-385: remove old coverage_test.yml file (#224)
Signed-off-by: Kai Wagner <kai.wagner@percona.com>
2022-05-10 23:07:10 +05:00
Kai Wagner
a2075d9268 PG-413: added missing repository for PG v14 (#223)
Signed-off-by: Kai Wagner <kai.wagner@percona.com>
2022-05-10 23:06:48 +05:00
Ibrar Ahmed
7c54289c54 Merge pull request #215 from capri1989/main
PG-365:  change version in META.json file to dev
2022-05-07 01:09:24 +05:00
Kai Wagner
b3a2b8daf0 Merge pull request #220 from Naeem-Akhter/PG-383
PG-383: Fix coverall.io badge on main branch in PGSM repo.
2022-05-05 15:33:38 +02:00
Kai Wagner
cbfcc34563 Merge pull request #218 from capri1989/readme
PG-269: Updated install from source chapter
2022-05-05 08:38:31 +02:00
Naeem Akhter
63d8d29e33 PG-383: Fix coverall.io badge on main branch in PGSM repo.
This will make sure that coverall.io stats are reflected as main branch.
2022-05-04 18:51:06 +05:00
Kai Wagner
379525df1c Merge pull request #217 from nastena1606/PG-407-Doc-Add-404-main
PG-407 Added a 404 page to docs
2022-05-04 08:25:25 +02:00
Kai Wagner
652dd3406b PG-269: Updated install from source chapter
Signed-off-by: Kai Wagner <kai.wagner@percona.com>
2022-05-03 17:18:57 +02:00
Anastasia Alexadrova
513b52df7f PG-407 Added a 404 page to docs
new file:   docs/overrides/404.html
	modified:   mkdocs.yml
2022-05-03 17:07:55 +02:00
Kai Wagner
1e4031a293 PG-365: change version in META.json file to dev
Signed-off-by: Kai Wagner <kai.wagner@percona.com>
2022-05-03 12:08:12 +02:00
Kai Wagner
9178be3542 Merge pull request #213 from capri1989/main
PG-405: Replace beta release warning in main branch
2022-05-03 10:53:30 +02:00
Kai Wagner
c5f84053a7 PG-405: Replace beta release warning in main branch
Signed-off-by: Kai Wagner <kai.wagner@percona.com>
2022-05-03 09:47:37 +02:00
Kai Wagner
79a46bace3 Merge pull request #209 from Naeem-Akhter/PG-377-PPG-Jobs
PG-377: Enable PPG Jobs for PGSM in GH.
2022-04-28 15:29:38 +02:00
Naeem Akhter
80f842fb49 PG-377: Enable PPG Jobs for PGSM in GH.
This commit contains following,
1) Regression jobs are enabled against Percona PG distribution for version postgresql 11~14.
2) Regression job is enabled against PGDG PG distribution for version postgresql 14.
3) GH actions names for some of the jobs are changed to clear the clutter in GH repo's action page.
2022-04-27 15:26:38 +05:00
Ibrar Ahmed
fc4d935652 Bump Version 'Dev'. 2022-04-21 19:00:16 +00:00
Lenz Grimmer
9fd4cdaae0 Merge pull request #205 from nastena1606/PG-368-Doc-1.0.0-version
Pg 368 doc 1.0.0 version
2022-04-14 08:10:14 +00:00
Lenz Grimmer
593ed88faa Merge pull request #203 from nastena1606/PG-371-Doc-Release-notes-RC2-update 2022-04-14 08:09:45 +00:00
Anastasia Alexadrova
acc411146d PG-368 Amended GH action for 1.0.x version 2022-04-14 09:02:03 +03:00
Anastasia Alexadrova
e8586bd096 Added requirements.txt for doc build 2022-04-13 11:47:36 +03:00
Anastasia Alexadrova
f6058c9629 Added requirements.txt for doc build 2022-04-13 11:46:59 +03:00
Anastasia Alexadrova
181840cc19 PG-371 Updated RC release notes with new issues
modified:   docs/RELEASE_NOTES.md
2022-04-13 11:38:06 +03:00
Ibrar Ahmed
afd2e1dac7 Merge pull request #201 from darkfronza/PG-369_fix_wal_bytes
PG-369: Fix wal_bytes values on PG <= 12.
1.0.0-rc.2
2022-04-12 17:05:43 +05:00
Ibrar Ahmed
75acfbb8d5 Merge pull request #199 from nastena1606/PG-344-Doc-extension-order-for-PG14-RC2
PG-344 Described the extensions behavior for collecting data depending on order
2022-04-12 16:40:40 +05:00
Ibrar Ahmed
9b05dac3e6 Merge pull request #198 from nastena1606/PG-359-Doc-pgsm_track-RC2
PG-359 Doc - Update pg_stat_monitor_settings view with new options (RC2)
2022-04-12 16:40:05 +05:00
Ibrar Ahmed
7e829cb254 Merge pull request #197 from nastena1606/PG-353-Release-notes-RC2
PG-353 Release notes RC2
2022-04-12 16:39:48 +05:00
Diego Fronza
409f384ce8 PG-369: Fix wal_bytes values on PG <= 12.
Similar to pg_stat_statements, pg_stat_monitor tracks wal data metrics
since PostgreSQL 13, the problem was that for PostgreSQL versions 11 and
12 we left the WalUsage variable declared in the stack unitialized,
thus leading to garbage values.

Fixed the problem by ignoring the WalUsage variable value for PG <= 12.
2022-04-11 14:20:43 -03:00
Ibrar Ahmed
1ed35c648a Merge pull request #200 from nastena1606/PG-364-Align-doc-structure-with-main
PG-364 Aligned docs structure with main
2022-04-08 11:11:12 -07:00
Anastasia Alexadrova
c5dd547619 PG-364 Aligned docs structure with main
Changed the GH action to buid a separate doc version, 1.0.x stable, from REL1_0_0 branch
2022-04-06 15:05:20 +03:00
Anastasia Alexadrova
09010f069f PG-353 Relelase notes RC2
modified:   docs/RELEASE_NOTES.md
2022-04-01 17:48:46 +03:00
Anastasia Alexadrova
5e2dac0608 PG-359 Doc - Update pg_stat_monitor_settings view with new options
modified:   docs/USER_GUIDE.md
2022-03-31 09:30:39 +03:00
Anastasia Alexadrova
65aaca6313 PG-344 Described the extensions behavior for collecting data depending on order
modified:   README.md
2022-03-30 21:45:15 +03:00
Ibrar Ahmed
713f6f13f4 Merge pull request #193 from Naeem-Akhter/REL1_0_STABLE_Latest
PG-361: Change sequence of regressions.; PG-343: Enable TAP testing.; PG-292: Automate the QA.; PG-338: Calls count.; PG-331: Default values in PMM.
2022-03-22 22:56:55 +05:00
Naeem Akhter
4bdb11aadc Change the sequence regressions, moved installcheck-world to last to make sure that we already have ran the pg_stat_monitor regression and server regression don't imapct it. 2022-03-22 18:42:43 +05:00
Naeem Akhter
3979a205c5 Fixed expected output file for histogram testcase. 2022-03-22 01:55:58 +05:00
Naeem Akhter
96eed05890 PG-343: Enable TAP testing; PG-292: Automate the QA; PG-338: Calls count.; PG-331: Default values in PMM.
This commit brings following changes to this branch:
1) Port changes/additions TAP testing from main branch to this branch, under PG-292.
2) Changes to test cases due to GUCs change, under PG-331.
3) Call counts verfications, under PG-338.
4) Changes to github workflows to accomodate automation for TAP testing, under PG-343.
2022-03-22 01:36:47 +05:00
Ibrar Ahmed
34e14104d7 PG-338: Calls count is not correct in PG-13.; PG-331: Default values for better presentation in PMM (#191)
* PG-338: Calls count is not correct in PG-13.
* PG-331: Defaults values for better presentation in PMM.
* Update pg_stat_monitor.c

Co-authored-by: Lenz Grimmer <lenz.grimmer@percona.com>
Co-authored-by: Hamid Akhtar <hamid.akhtar@gmail.com>
Co-authored-by: Ibrar Ahmad <ibrar.ahmad@gmail.com>
2022-03-21 17:53:59 +05:00
Hamid Akhtar
9abef85ede Merge pull request #190 from ibrarahmad/REL1_0_STABLE
PG-338: Calls count is not correct in PG-13.
2022-03-15 18:20:17 +05:00
Ibrar Ahmed
153f8d2e87 PG-338: Calls count is not correct in PG-13.
cherry-pick patch (b6838049b6) by Diego
and I did some refatoring.
2022-03-14 18:14:11 +00:00