Versions in this module Expand all Collapse all v1 v1.5.1 May 14, 2026 v1.5.0 May 13, 2026 Changes in this version + type Postgres struct + func New(ctx context.Context, c db.Config) (*Postgres, error) + func (p *Postgres) BeginTx(ctx context.Context) (bun.Tx, error) + func (p *Postgres) Close(ctx context.Context) error + func (p *Postgres) DB() *bun.DB + func (p *Postgres) ErrorChecker() db.ErrorChecker + func (p *Postgres) RunInTx(ctx context.Context, fn func(ctx context.Context, tx bun.Tx) error) error + type PostgresErrorChecker struct + func (checker *PostgresErrorChecker) IsErrNoRows(err error) bool + func (checker *PostgresErrorChecker) IsUniqueConstraintError(err error) bool