Debian Patches

Status for pg-exporter/1.4.1-1

Patch Description Author Forwarded Bugs Origin Last update
main_go_import.patch no
kingpin_import.patch no
pg_exporter.default_config_path_dsn.patch no
pg_exporter.service_user.patch no
use_deprecated_prom_common_validators.patch no
avoid_test_suite_failure.patch commit feb701bd84508850db483d39d052aec75a885f07

fix: validate telemetry path against its decoded form

The conflict check in validateTelemetryPath relied on the Go 1.22+
ServeMux unescaping patterns before detecting collisions. GOPATH-mode
builds (e.g. Debian dh-golang) select the legacy go1.21 mux through
the httpmuxgo121 GODEBUG default, which matches patterns literally,
so escaped reserved endpoints like /%75p slipped past validation and
failed the test suite. Trial-register the percent-decoded path
instead, which panics as an exact duplicate under both mux
implementations, and run CI once with httpmuxgo121=1 to keep the
legacy behavior covered.

Fixes #109

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 5b7f91b..141932a 100644
Feng Ruohang <rh@vonng.com> no 2026-08-04

All known versions for source package 'pg-exporter'

Links