dependabot[bot]
4ac02b2443
Bump actions/upload-artifact from 4.6.2 to 5.0.0
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4.6.2 to 5.0.0.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](ea165f8d65...330a01c490 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-version: 5.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-10-28 11:01:56 +02:00
dependabot[bot]
7aeb2508d1
Bump github/codeql-action from 4.30.9 to 4.31.0
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 4.30.9 to 4.31.0.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](16140ae1a1...4e94bd11f7 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 4.31.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-10-28 11:01:14 +02:00
dependabot[bot]
58c9e734d8
Bump github/codeql-action from 4.30.8 to 4.30.9
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 4.30.8 to 4.30.9.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](f443b600d9...16140ae1a1 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 4.30.9
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-10-27 14:27:24 +02:00
dependabot[bot]
2c2c1f518d
Bump apache/skywalking-eyes from 0.7.0 to 0.8.0
...
Bumps [apache/skywalking-eyes](https://github.com/apache/skywalking-eyes ) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/apache/skywalking-eyes/releases )
- [Changelog](https://github.com/apache/skywalking-eyes/blob/main/CHANGES.md )
- [Commits](5c5b974209...61275cc80d )
---
updated-dependencies:
- dependency-name: apache/skywalking-eyes
dependency-version: 0.8.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-10-27 14:26:50 +02:00
Artem Gavrilov
10418688cd
Update copyright date
...
Update all copyrigts/licence headers with current year.
2025-10-20 13:35:57 +02:00
Artem Gavrilov
6d58b1e1d7
Remove installation steps for Trunk repository
...
Trunk was shut down, so we can remove related installation steps from
readme.
2025-10-20 13:35:57 +02:00
Artem Gavrilov
0780b675bb
PG-1907 Add PostgreSQL 18 mention to README.md
...
Mention that PostgreSQL 18 supported by PGSM.
2025-10-20 13:35:57 +02:00
dependabot[bot]
830e06d13d
Bump github/codeql-action from 3.30.6 to 4.30.8
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.30.6 to 4.30.8.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](64d10c1313...f443b600d9 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 4.30.8
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-10-16 14:02:52 +02:00
dependabot[bot]
cd0feaf215
Bump ossf/scorecard-action from 2.4.2 to 2.4.3
...
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action ) from 2.4.2 to 2.4.3.
- [Release notes](https://github.com/ossf/scorecard-action/releases )
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md )
- [Commits](05b42c6244...4eaacf0543 )
---
updated-dependencies:
- dependency-name: ossf/scorecard-action
dependency-version: 2.4.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-10-08 16:09:57 +02:00
dependabot[bot]
57529ecfa7
Bump github/codeql-action from 3.30.5 to 3.30.6
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.30.5 to 3.30.6.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](3599b3baa1...64d10c1313 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 3.30.6
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-10-08 16:08:26 +02:00
dependabot[bot]
4a7f1b73e4
Bump github/codeql-action from 3.30.3 to 3.30.5
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.30.3 to 3.30.5.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](192325c861...3599b3baa1 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 3.30.5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-30 11:31:14 +02:00
Artem Gavrilov
8f7868f73e
PG-1907 Use macro to define the number of enum values
...
This commet address refactoring made in PostgreSQL codebase in commit
10b7218.
2025-09-30 11:30:35 +02:00
Artem Gavrilov
bd0546b7c9
PG-1907 Add columns to track parallel worker activity
...
These are the same counters as were intorduced in pg_stat_statements in
commit cf54a2c.
2025-09-30 11:30:35 +02:00
Artem Gavrilov
9496937c9f
PG-1907 Add wal_buffers_full
...
Add wal_buffers_full value, same as was introduced in PGSS in commit ce5bcc4.
2025-09-30 11:30:35 +02:00
Artem Gavrilov
9dad93b770
PG-1907 Add PG18 specific expected test ouptut
...
007_settings_pgsm_query_shared_buffer.pl test expects ouptut file per
major version. So add one for PostgreSQL 18.
Also add expected column names for 018_column_names.pl test
2025-09-30 11:30:35 +02:00
Artem Gavrilov
bdd3329298
PG-1907 Remove volatile pointers used for spinlock access
...
This commit follows change made in 8928817 commit in PGSS, which in turn
address changes made in 0709b7e commit in PG spinlocks.
2025-09-30 11:30:35 +02:00
Artem Gavrilov
874a3b438a
PG-1907 Support constant lists squashing in query jumbling
...
This commit address changes made in commits 62d712e, c2da1a5d6, 9fbd53dea and 0f65f3e.
These commits change how PG18 doing jumbling of queries that contain constants list in it.
2025-09-30 11:30:35 +02:00
Artem Gavrilov
ba02dc1f64
PG-1907 Add PG18 specific expected pgsm_query_id test outupt
...
This commit address change introduced in dc68515, where SET queries
noramlization rules changed.
2025-09-30 11:30:35 +02:00
Artem Gavrilov
f5003d3000
PG-1907 Use int64 instead of uint64 for ids
...
There is no need to use unsigned values for hash ids as we cast them to
signed values in SQL output anyways.
2025-09-30 11:30:35 +02:00
Artem Gavrilov
e032dfaa6d
PG-1907 Add build CI workflow for PG18
...
Add build workflow for PostgreSQL 18.
2025-09-30 11:30:35 +02:00
Artem Gavrilov
d16d7fe6dd
PG-1907 Use new executor run hook signature
...
In commit 3eea7a0 ExecutorRun hook signature changed. Use new singature
for PG18.
2025-09-30 11:30:35 +02:00
Artem Gavrilov
182bf40c34
PG-1907 Fix explain imports for PG18
...
explain.h header file was splitted in PostgreSQL 18, so import required
headers for that version.
2025-09-30 11:30:35 +02:00
Artem Gavrilov
d74e927adb
PG-1931 Fix returned vaules from C function
...
Latest version of extension stll may be installed with previous API
verison. So we have to return appropriate data set from C code. This
commit fixes bug that was introduced in PGSM version 2.1 when extension
created with API version 2.0 crashes on data fetch.
2025-09-18 11:00:40 +02:00
dependabot[bot]
9ea39fcb52
Bump github/codeql-action from 3.30.1 to 3.30.3
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.30.1 to 3.30.3.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](f1f6e5f6af...192325c861 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 3.30.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-17 20:13:52 +02:00
dependabot[bot]
f491096189
Bump codecov/codecov-action from 5.5.0 to 5.5.1
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 5.5.0 to 5.5.1.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](fdcc847654...5a1091511a )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-version: 5.5.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-09 15:02:00 +02:00
dependabot[bot]
642a2e1c7c
Bump github/codeql-action from 3.30.0 to 3.30.1
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.30.0 to 3.30.1.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](2d92b76c45...f1f6e5f6af )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 3.30.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-09 15:01:31 +02:00
Artem Gavrilov
1e32b52a3f
PG-1900 Remove compatibility with PG-12
...
PG-12 reached EOL one year ago, so we can cleanup compatibiliby code for
that version and remove related CI workflows. This change requires
migration script to remove pgsm_create_11_view SQL function and as a result it
requires extension version bump.
2025-09-05 18:30:04 +02:00
dependabot[bot]
2ec31f69ee
Bump github/codeql-action from 3.29.11 to 3.30.0
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.29.11 to 3.30.0.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](3c3833e0f8...2d92b76c45 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 3.30.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-02 14:27:48 +02:00
dependabot[bot]
d0f1172476
Bump codecov/codecov-action from 5.4.3 to 5.5.0
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 5.4.3 to 5.5.0.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](18283e04ce...fdcc847654 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-version: 5.5.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-08-26 15:09:31 +02:00
dependabot[bot]
2cc0b576bd
Bump github/codeql-action from 3.29.10 to 3.29.11
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.29.10 to 3.29.11.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](96f518a34f...3c3833e0f8 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 3.29.11
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-08-26 15:09:04 +02:00
dependabot[bot]
c204fb0a12
Bump github/codeql-action from 3.29.9 to 3.29.10
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.29.9 to 3.29.10.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](df559355d5...96f518a34f )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 3.29.10
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-08-19 12:46:05 +02:00
dependabot[bot]
5e36a66d80
Bump github/codeql-action from 3.29.7 to 3.29.8
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.29.7 to 3.29.8.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](51f77329af...76621b61de )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 3.29.8
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-08-18 15:34:31 +02:00
dependabot[bot]
f88167d569
Bump actions/checkout from 4.2.2 to 5.0.0
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.2.2 to 5.0.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](11bd71901b...08c6903cd8 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: 5.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-08-18 12:31:38 +02:00
dependabot[bot]
db4b6c6e07
Bump github/codeql-action from 3.29.4 to 3.29.5
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.29.4 to 3.29.5.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](4e828ff8d4...51f77329af )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 3.29.5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-08-05 17:08:02 +02:00
dependabot[bot]
f774d5acbd
Bump github/codeql-action from 3.29.3 to 3.29.4
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.29.3 to 3.29.4.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](d6bbdef45e...4e828ff8d4 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 3.29.4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-07-29 10:16:57 +02:00
dependabot[bot]
f61935cacb
Bump github/codeql-action from 3.29.2 to 3.29.3
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.29.2 to 3.29.3.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](181d5eefc2...d6bbdef45e )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 3.29.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-07-22 09:43:50 +02:00
EvgeniyPatlan
7d3d5afbbc
PKG-922 fix rhel10 build
2025-07-21 14:28:21 +02:00
Artem Gavrilov
ce21b22bf2
Merge pull request #545 from percona/release-2.2.0
...
PGSM 2.2.0 release
2025-07-01 17:12:21 +02:00
dependabot[bot]
c613f071b1
Bump github/codeql-action from 3.29.0 to 3.29.2
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.29.0 to 3.29.2.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](ce28f5bb42...181d5eefc2 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 3.29.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-07-01 09:41:07 +02:00
EvgeniyPatlan
f334af03a6
fix branch detection
2025-06-27 00:41:31 +03:00
EvgeniyPatlan
804059ce75
Fix param
2025-06-27 00:36:59 +03:00
EvgeniyPatlan
65d65ccd05
Fix build
2025-06-27 00:08:13 +03:00
EvgeniyPatlan
298a8e08a2
Fix place for version
2025-06-26 18:40:40 +02:00
EvgeniyPatlan
1f3754f046
Correctly get version from release branch
2025-06-26 18:40:40 +02:00
Artem Gavrilov
660190b2a0
Update PGSM version in PGXN conf file
2025-06-26 12:12:34 +02:00
Zsolt Parragi
9e0a252873
PG-1674: Fix comment parsing logic at two places ( #542 )
...
* PG-1674: Fix query hash calculation comment removal logic
The previous conditions only removed the first few starting characters
of the comment, and leaved everything else there.
This modification fixes this and correctly removes everything.
* PG-1674: Fix performance issues with comment extraction
The previous logic used complex regex parsers, which caused performance
issues with large (megabyte sized) queries. This change removes the
regex dependency and uses the same (fixed) logic from the query hashing
code, which is much faster.
It also checks the related GUC variable, which the previous code
ignored: if we do not want to display extracted comments, we won't
extract them in the first place.
This commit doesn't try to address other issues with comment parsing logic:
* we shouldn't treat comment like things within strings as comments
* we should handle nested C style comments
* we don't extract `--` style comments
All of these issues are still there, as before.
2025-06-23 13:46:15 +01:00
Artem Gavrilov
3653dd6041
Add back case for zero cmd_type value in get_cmd_type function ( #543 )
2025-06-19 15:44:41 +02:00
Artem Gavrilov
76b0802142
PG-1313 Fix decode_error_level SQL function ( #539 )
...
Update decode_error_level funcion to support error codes up to PG
version 17.
2025-06-19 15:38:44 +02:00
Zsolt Parragi
61662cc58f
PG-1621: fix cmd_type mostly showing 0 values ( #538 )
...
This was actually caused by two bugs internally:
* cmd_type was only set in some codepaths, other parts of the code
never set a value. Depending on which query / how was executed,
it was possibly never changed (after a reset to 0)
* the update first set the cmd_type, then reset all counters. As
the cmd_type is stored within the counters for some reason, this
reset its value to 0 in most execution paths, even if it was corretly
set before.
And according to this the fix is simple:
* cmd_type is now set in all codepaths except for failing queries,
as we only have the error string in this case, without the type.
* in the update logic, we again overwrite cmd_type with the proper
value after a reset
2025-06-17 14:52:28 +01:00
dependabot[bot]
f7dc7fb5fe
Bump github/codeql-action from 3.28.19 to 3.29.0 ( #541 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.28.19 to 3.29.0.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](fca7ace96b...ce28f5bb42 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 3.29.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-17 14:25:52 +02:00