Documentation
¶
Overview ¶
Package postgres registers the `client "postgres"` block. Unlike SQLite it is pure Go (the jackc/pgx/v5/stdlib driver needs no cgo), so there is no build-tag split and it is available in both the full and minimal container images.
It supplies a sqlengine.Dialect plus DSN assembly and otherwise reuses the dialect-agnostic engine in clients/sql for pooling, named queries, parameter binding, row scanning, and the result object. See doc/client-sql.md.
Click to show internal directories.
Click to hide internal directories.