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

dal-go / dalgo2sql / 37612568427
100%

Build:
DEFAULT BRANCH: main
Ran 07 Oct 2026 11:13AM UTC
Jobs 1
Files 32
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

07 Oct 2026 11:12AM UTC coverage: 100.0%. Remained the same
37612568427

push

github

web-flow
feat: add opt-in PostgreSQL BYTEA preservation (#223)

PostgreSQL map-backed reads currently turn `[]byte` results into strings, which corrupts BYTEA containing invalid UTF-8 when an API serializes the result. This adds opt-in `DbOptions.PreserveBinaryValues`; it retains copied byte slices only for PostgreSQL columns whose driver metadata reports `BYTEA`. The zero value and all other column types keep their existing behavior. Map-backed `Get`/`GetMulti` use the same path; recordset reads already preserve byte slices.

Validation: `go test ./... -count=1`, `go vet ./...`, and `golangci-lint run ./...` pass through `wb run`. Tests cover binary NUL/invalid UTF-8, empty versus NULL values, text/default compatibility, recordset reads, and owned copies.

Source commits:

- 0b05f68a1560 feat: preserve PostgreSQL BYTEA reads
- be8e7a82e24b test: cover PostgreSQL BYTEA preservation paths

Pull request: dal-go/dalgo2sql#223
Review: /private/tmp/demodb-dalgo-sql-binary-review-r2.md

40 of 40 new or added lines in 2 files covered. (100.0%)

5716 of 5716 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 37612568427.1 07 Oct 2026 11:13AM UTC 32
100.0
GitHub Action Run
Source Files on build 37612568427
  • Tree
  • List 32
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 549ea5fd on github
  • Prev Build on main (#37593716472)
  • Next Build on main (#38240362703)
  • Delete
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