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

dal-go / dalgo2postgres / 37633091999
100%

Build:
DEFAULT BRANCH: main
Ran 07 Oct 2026 02:03PM UTC
Jobs 1
Files 19
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 02:00PM UTC coverage: 98.715% (-0.1%) from 98.844%
37633091999

push

github

web-flow
feat(postgres): expose source view metadata (#22)

PostgreSQL exposes ordinary and materialized views through the existing collection catalog, but DALgo consumers have no provider-neutral way to distinguish those relations and compare their definitions. This adds `dbschema.SourceViewReader` to the PostgreSQL adapter for the configured schema, returning view names, ordered column names, and PostgreSQL's normalized definition text as metadata. It does not execute view SQL and leaves `ListCollections` behavior unchanged.

Validation: `go test -count=1 ./...`, `go test -cover ./...` (98.6%, above the repository's 97% gate), `go vet ./...`, and `golangci-lint run` passed. SQL-mock tests cover view ordering, empty inventories, and query/scan/row failures; the PG integration test covers ordinary and materialized views and runs in the repository's PostgreSQL 17/18 CI matrix. No local PG integration DSN was configured.

Source commits:

- 2e4835ebbb36 feat(postgres): expose source view metadata

Pull request: dal-go/dalgo2postgres#22
Review: /private/tmp/demodb-postgres-view-review-r1.md

23 of 25 new or added lines in 1 file covered. (92.0%)

1306 of 1323 relevant lines covered (98.72%)

1.0 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
97.87
-2.13% schema_relations.go
Jobs
ID Job ID Ran Files Coverage
1 37633091999.1 07 Oct 2026 02:03PM UTC 19
98.72
GitHub Action Run
Source Files on build 37633091999
  • Tree
  • List 19
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 00a0c2d5 on github
  • Prev Build on main (#37599655976)
  • Next Build on main (#37640321418)
  • 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