Skip to content

[pull] master from DataDog:master#521

Merged
pull[bot] merged 3 commits into
ConnectionMaster:masterfrom
DataDog:master
May 6, 2026
Merged

[pull] master from DataDog:master#521
pull[bot] merged 3 commits into
ConnectionMaster:masterfrom
DataDog:master

Conversation

@pull

@pull pull Bot commented May 6, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

tirthrajchaudhari-crest and others added 3 commits May 6, 2026 16:28
Co-authored-by: savandalasaniya-crest <savan.dalasaniya@crestdata.ai>
* Fix potential connection leak if configuration queries fail

* Fix exception handling for non-psycopg auth errors

* Add changelog

* postgres: surface underlying error on diagnose version and pg_monitor probes

Replace `_fetchone` (which swallows psycopg.Error and returns None) with
direct cursor calls in `_diagnose_version` and `_diagnose_pg_monitor_role`
so transient errors during `SHOW SERVER_VERSION`, `SELECT ... pg_roles`,
or `pg_has_role` produce a FAIL with the actual psycopg message instead
of `'NoneType' object is not subscriptable`, a silent skip mistaken for
PG < 10, or a misleading "not a member of pg_monitor" with a GRANT
remediation.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Joel Marcotte <joel.marcotte@datadoghq.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@pull pull Bot locked and limited conversation to collaborators May 6, 2026
@pull pull Bot added the ⤵️ pull label May 6, 2026
@pull pull Bot merged commit c84ac0c into ConnectionMaster:master May 6, 2026
5 of 7 checks passed
@pull pull Bot had a problem deploying to typo-squatting-release May 7, 2026 06:11 Failure
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants