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

stephenafamo / bob / 30234757171
48%
main: 48%

Build:
Build:
LAST BUILD BRANCH: fix/duplicate-param-refs
DEFAULT BRANCH: main
Ran 27 Jul 2026 09:40AM UTC
Jobs 2
Files 252
Run time 1min
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

27 Jul 2026 03:26AM UTC coverage: 47.671% (-0.02%) from 47.691%
30234757171

Pull #745

github

dmakushin
fix(psql): handle duplicate parameter refs ($N) in query parsing

When a query uses the same placeholder ($1) multiple times, the parser
incorrectly renumbered each occurrence sequentially, causing a mismatch
between expected args from PostgreSQL PREPARE and the tracked args.

Added paramIdxMap to map each unique original param number to a single
sequential index, ensuring duplicate $N references are collapsed into
one parameter for type resolution.

Also fixed the error message at args mismatch to print the actual
expected/got values (argTypes vs w.args) instead of misleading column
counts.

Fixes #744
Pull Request #745: fix(psql): handle duplicate parameter refs ($N) in query parsing

7 of 8 new or added lines in 2 files covered. (87.5%)

8 existing lines in 1 file now uncovered.

11851 of 24860 relevant lines covered (47.67%)

730.95 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
81.82
0.1% gen/bobgen-psql/driver/parser/parser.go

Coverage Regressions

Lines Coverage ∆ File
8
77.25
-4.79% gen/aliases.go
Jobs
ID Job ID Ran Files Coverage
1 go-oldstable - 30234757171.1 27 Jul 2026 09:40AM UTC 252
47.67
GitHub Action Run
2 go-stable - 30234757171.2 27 Jul 2026 09:42AM UTC 252
47.67
GitHub Action Run
Source Files on build 30234757171
  • Tree
  • List 252
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #745
  • PR Base - main (#29760008134)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc