Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors with PG17 columns #176

Open
SkyMarshall939 opened this issue Dec 31, 2024 · 0 comments
Open

Errors with PG17 columns #176

SkyMarshall939 opened this issue Dec 31, 2024 · 0 comments

Comments

@SkyMarshall939
Copy link

Hello,

I'm having an issue using the collector: pgcluu_collected in v17. There are errors on the columns of the views: pg_stat_bgwriter & pg_stat_database.

Extract from postgresql log :
...ERROR: column "checkpoints_timed" does not exist at character 44...
due to :
COPY (SELECT date_trunc('seconds', now()), checkpoints_timed, checkpoints_req, checkpoint_write_time, checkpoint_sync_time, buffers_checkpoint, buffers_clean, maxwritten_clean, buffers_backend, buffers_backend_fsync, buffers_alloc, date_trunc('seconds', stats_reset) AS stats_reset FROM pg_stat_bgwriter ) TO STDOUT CSV DELIMITER ';';
and

...ERROR: column "shared_blk_read_time" does not exist at character 286...
due to :
COPY (SELECT date_trunc('seconds', now()), datid, datname, numbackends, xact_commit, xact_rollback, blks_read, blks_hit, tup_returned, tup_fetched, tup_inserted, tup_updated, tup_deleted, conflicts, date_trunc('seconds', stats_reset) AS stats_reset, temp_files, temp_bytes, deadlocks, shared_blk_read_time, shared_blk_write_time FROM pg_stat_database ) TO STDOUT CSV DELIMITER ';'

Are you already working on it ?

Best regards

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

No branches or pull requests

1 participant