• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

cybertec-postgresql / pgwatch / 20032611416 / 1
75%
master: 75%

Build:
DEFAULT BRANCH: master
Ran 08 Dec 2025 03:08PM UTC
Files 44
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 Dec 2025 03:04PM UTC coverage: 73.988% (+0.02%) from 73.972%
20032611416.1

push

github

web-flow
[*] set lock_timeout via connection RuntimeParams instead of per-query transaction (#1067)

* [*] set lock_timeout via connection RuntimeParams instead of per-query transaction

Reduces metric queries from 4 roundtrips (BEGIN/SET/query/COMMIT) to 1 by
setting lock_timeout at connection level via pgx RuntimeParams.

- Set lock_timeout in RuntimeParams for PostgreSQL sources on connect
- Simplify QueryMeasurements by removing transaction wrapper
- Set to "0" to disable lock_timeout

Ref: https://brandur.org/fragments/postgres-parameters

* [*] update tests to match new connection-level lock_timeout

Tests no longer expect transaction wrapping (BEGIN/SET/COMMIT) since
lock_timeout is now set via RuntimeParams at connection time.

* remove proposed `ConnLockTimeout` option

User may control connection options through connection string, e.g.
`--source=postgresql://foo:baz@bar/db?lock_timeout=100`

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Pavlo Golub <pavlo.golub@gmail.com>

3766 of 5090 relevant lines covered (73.99%)

0.84 hits per line

Source Files on job 20032611416.1
  • Tree
  • List 44
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 20032611416
  • b38f22ed on github
  • Prev Job for on master (#19968648019.1)
  • Next Job for on master (#20057129747.1)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc