Commit Graph
1 Commits
Author SHA1 Message Date
9095a5254e chore(deps): update lib/pq to v1.11.2 to fix Supabase PostgreSQL connection regression (#1644)
* fix: update lib/pq to v1.11.2 to fix Supabase PostgreSQL connection regression

lib/pq v1.11.0 introduced a Config struct refactor that unconditionally
sends an empty 'options' parameter during the PostgreSQL startup handshake.
Supabase's Supavisor connection pooler rejects startup messages containing
empty parameters, returning :bad_startup_payload and causing an EOF panic
during Gatus initialization.

This bump to lib/pq v1.11.2 (commit 1412805) fixes the issue by omitting
empty startup parameters from the handshake.

Fixes TwiN/gatus#1633
See: https://github.com/lib/pq/issues/1259

Changes:
- go.mod: bump github.com/lib/pq v1.11.1 -> v1.11.2
- go.sum: update checksums for lib/pq v1.11.2
- storage/store/sql/supabase_test.go: add regression test

This contribution was AI-assisted.

* Remove regression test per maintainer feedback

@TwiN requested removal of the test - version bumps rarely need regression tests since they don't get bumped back down.

---------

Co-authored-by: Wahaj Ahmed <wahajahmed010@gmail.com>
Co-authored-by: TwiN <twin@linux.com>
2026-05-15 18:34:34 -04:00