Skip to content

Conversation

artemgavrilov
Copy link

@artemgavrilov artemgavrilov commented Oct 10, 2025

BupycHuk and others added 12 commits September 29, 2025 17:55
Introduce support for PostgreSQL 18, adding enhanced metrics for checkpointer, vacuum/analyze timings, and parallel worker activity. Implement new collectors for `pg_stat_io` and `pg_backend_memory_contexts` with version-specific queries, along with comprehensive tests. Update README and CI to reflect PostgreSQL 18 compatibility.
Refactored IO and statistics queries to accommodate PostgreSQL 18 features, including byte-level statistics and WAL I/O. Updated tests to validate new columns and ensure query expectation checks are correctly enforced. Improved test coverage across different PostgreSQL versions.
@artemgavrilov artemgavrilov marked this pull request as ready for review October 13, 2025 10:29
@artemgavrilov artemgavrilov requested a review from a team as a code owner October 13, 2025 10:29
Comment on lines +26 to +28
CASE WHEN current_setting('server_version_num')::int >= 180000
THEN COALESCE(total_vacuum_time, 0)
ELSE 0 END as total_vacuum_time,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if this works can we use it everywhere instead of having multiple queries?

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