Add BeginTx(ctx, pgx.TxOptions) to Client interface for explicit isolation level and
read-only transaction control; Begin refactored as a convenience wrapper calling
BeginTx(ctx, pgx.TxOptions{}). Add Stats() *pgxpool.Stat to Component interface for
connection pool observability. Bump all micro-lib dependencies (logz, health, launcher,
xerrors) from v0.9.0 to v1.0.0. API committed as stable.
21 lines
574 B
Modula-2
21 lines
574 B
Modula-2
module code.nochebuena.dev/go/postgres
|
|
|
|
go 1.25
|
|
|
|
require (
|
|
code.nochebuena.dev/go/health v1.0.0
|
|
code.nochebuena.dev/go/launcher v1.0.0
|
|
code.nochebuena.dev/go/logz v1.0.0
|
|
code.nochebuena.dev/go/xerrors v1.0.0
|
|
github.com/jackc/pgerrcode v0.0.0-20250907135507-afb5586c32a6
|
|
github.com/jackc/pgx/v5 v5.8.0
|
|
)
|
|
|
|
require (
|
|
github.com/jackc/pgpassfile v1.0.0 // indirect
|
|
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
|
|
github.com/jackc/puddle/v2 v2.2.2 // indirect
|
|
golang.org/x/sync v0.17.0 // indirect
|
|
golang.org/x/text v0.29.0 // indirect
|
|
)
|