---
title: "github.com/jackc/pgx/v5 v5.9.0 Breaking Changes"
description: "What each github.com/jackc/pgx/v5 release removed, renamed or changed: 7 breaking changes in 2 versions on Go modules, each with its source."
canonical_url: https://since.dev/packages/go/github.com/jackc/pgx/v5
last_updated: 2026-12-04
---

# github.com/jackc/pgx/v5 breaking changes

github.com/jackc/pgx/v5 v5.9.0 (March 21, 2026) is its newest release with breaking changes, 4 of them. The first: Signature changed github.com/jackc/pgx/v5/pgconn.HijackedConn.SecretKey. Every breaking API change we have recorded in github.com/jackc/pgx/v5 on Go modules: 7 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `v5.13.0`, released November 11, 2026. [Source repository](https://github.com/jackc/pgx)

Packages on Go modules run on Go. [Go end of life dates](https://since.dev/calendar/go.md).

- From [v5.7.6](#v-v5-7-6) to [v5.9.0](#v-v5-9-0): 4 breaking changes in 1 version.

## github.com/jackc/pgx/v5 v5.9.0 breaking changes

github.com/jackc/pgx/v5 v5.9.0, released March 21, 2026: 4 breaking changes.

- **Signature changed** `github.com/jackc/pgx/v5/pgconn.HijackedConn.SecretKey`  

Was SecretKey uint32; now SecretKey \[\]byte. [pkg.go.dev](https://pkg.go.dev/github.com/jackc/pgx/v5@v5.9.0)
- **Signature changed** `github.com/jackc/pgx/v5/pgconn.PgConn.SecretKey`  

Was func SecretKey() uint32; now func SecretKey() \[\]byte. [pkg.go.dev](https://pkg.go.dev/github.com/jackc/pgx/v5@v5.9.0)
- **Signature changed** `github.com/jackc/pgx/v5/pgproto3.BackendKeyData.SecretKey`  

Was SecretKey uint32; now SecretKey \[\]byte. [pkg.go.dev](https://pkg.go.dev/github.com/jackc/pgx/v5@v5.9.0)
- **Signature changed** `github.com/jackc/pgx/v5/pgproto3.CancelRequest.SecretKey`  

Was SecretKey uint32; now SecretKey \[\]byte. [pkg.go.dev](https://pkg.go.dev/github.com/jackc/pgx/v5@v5.9.0)

## github.com/jackc/pgx/v5 v5.7.6 breaking changes

github.com/jackc/pgx/v5 v5.7.6, released September 8, 2025: 3 breaking changes.

- **Signature changed** `github.com/jackc/pgx/v5/pgtype/zeronull.Int2.ScanInt64`  

Was func ScanInt64(int64, bool) error; now func ScanInt64(pgtype.Int8) error. [pkg.go.dev](https://pkg.go.dev/github.com/jackc/pgx/v5@v5.7.6)
- **Signature changed** `github.com/jackc/pgx/v5/pgtype/zeronull.Int4.ScanInt64`  

Was func ScanInt64(int64, bool) error; now func ScanInt64(pgtype.Int8) error. [pkg.go.dev](https://pkg.go.dev/github.com/jackc/pgx/v5@v5.7.6)
- **Signature changed** `github.com/jackc/pgx/v5/pgtype/zeronull.Int8.ScanInt64`  

Was func ScanInt64(int64, bool) error; now func ScanInt64(pgtype.Int8) error. [pkg.go.dev](https://pkg.go.dev/github.com/jackc/pgx/v5@v5.7.6)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
