Skip to content

Conversation

@dimasikpower
Copy link

Fixes #1186

Problem

Postgres Pro Enterprise 16.6 has NULL values in pg_settings.short_desc for parameters:

  • replan_enable
  • replan_show_signature

This causes exporter to crash with error:

- Added COALESCE(short_desc, '') to handle NULL values in pg_settings query
- Fixes compatibility with Postgres Pro Enterprise 16.6+
- Resolves issue prometheus-community#1186
@sysadmind
Copy link
Contributor

This is failing on the DCO - you need to sign off on the commit
https://github.com/prometheus-community/postgres_exporter/pull/1235/checks?check_run_id=58932350069

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.

Error Scan error on column index 3, name \"short_desc\": converting NULL to string is unsupported

2 participants