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

stephenafamo / scan
90%
main: 91%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.9.0
DEFAULT BRANCH: main
Repo Added 26 Dec 2022 07:32PM UTC
Files 10
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

LAST BUILD ON BRANCH fix/each-rows-err-check
branch: fix/each-rows-err-check
CHANGE BRANCH
x
Reset
  • fix/each-rows-err-check
  • fix/close-rows-in-fromrows
  • main
  • perf/reuse-row-scan-buffers
  • perf/schedule-scan-by-index
  • refs/tags/v0.1.0
  • refs/tags/v0.1.1
  • refs/tags/v0.2.0
  • refs/tags/v0.3.0
  • refs/tags/v0.4.0
  • refs/tags/v0.4.1
  • refs/tags/v0.4.2
  • refs/tags/v0.5.0
  • refs/tags/v0.6.0
  • refs/tags/v0.6.1
  • refs/tags/v0.6.2
  • refs/tags/v0.7.0
  • refs/tags/v0.8.0
  • refs/tags/v0.9.0
  • revert-3-named-args-v2
  • scan-plan-once
  • scan-rowskip

18 Jul 2026 12:41AM UTC coverage: 89.752% (-0.3%) from 90.016%
29623871699

Pull #11

github

Dima Makushin
fix: check rows.Err() after iteration in Each to surface mid-stream errors

Unlike OneFromRows and AllFromRows, Each never consulted rows.Err()
after its for rows.Next() loop exited. If Next() returns false due to
a database error (network disconnect, context deadline, SQL error from
a function mid-result-set), the error was silently dropped and the
caller's range loop completed as if everything was fine.

pgx's own ForEachRow, CollectRows, AppendRows, and the database/sql
docs all follow the same pattern: check Err() after the loop. This
fix brings Each in line.
Pull Request #11: fix: check rows.Err() after iteration in Each to surface mid-stream e…

1 of 3 new or added lines in 1 file covered. (33.33%)

578 of 644 relevant lines covered (89.75%)

42.22 hits per line

Relevant lines Covered
Build:
Build:
644 RELEVANT LINES 578 COVERED LINES
42.22 HITS PER LINE
Source Files on fix/each-rows-err-check
  • Tree
  • List 9
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
29623871699 fix/each-rows-err-check fix: check rows.Err() after iteration in Each to surface mid-stream errors Unlike OneFromRows and AllFromRows, Each never consulted rows.Err() after its for rows.Next() loop exited. If Next() returns false due to a database error (network disconn... Pull #11 18 Jul 2026 08:11AM UTC Dima Makushin github
89.75
See All Builds (65)
  • Repo on GitHub
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