---
title: "pgrx-sql-entity-graph 0.20.0 Breaking Changes on crates.io"
description: "What each pgrx-sql-entity-graph release removed, renamed or changed: 29 breaking changes in 2 versions on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/pgrx-sql-entity-graph
last_updated: 2026-12-04
---

# pgrx-sql-entity-graph breaking changes

pgrx-sql-entity-graph 0.20.0 (November 12, 2026) is its newest release with breaking changes, 28 of them. The first: Removed check_for_interrupts! Every breaking API change we have recorded in pgrx-sql-entity-graph on crates.io: 29 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 `0.20.1`, released November 22, 2026. [Source repository](https://github.com/pgcentralfoundation/pgrx)

Its 0.20.0 release requires Rust 1.99.1 or later. [Rust end of life dates](https://since.dev/calendar/rust.md).

- From [0.20.0-beta.0](#v-0-20-0-beta-0) to [0.20.0](#v-0-20-0): 28 breaking changes in 1 version.

## pgrx-sql-entity-graph 0.20.0 breaking changes

pgrx-sql-entity-graph 0.20.0, released November 12, 2026: 28 breaking changes.

- **Removed** `check_for_interrupts!`  

Use the safe function pgrx::check_for_interrupts() instead. [github.com](https://github.com/pgcentralfoundation/pgrx/blob/develop/v0.20.0-MIGRATION.md)
- **Removed** `pg_sys.MemoryContextCheck`  

Bindings that only an assert-enabled PostgreSQL declares are gone from every build. To learn at run time whether the server has assertions, read the debug_assertions setting. [github.com](https://github.com/pgcentralfoundation/pgrx/blob/develop/v0.20.0-MIGRATION.md)
- **Removed** `pg13`  

The pg13 feature is removed. Remove it from Cargo.toml, from code gated on it, and from CI, and change any default that names it to a supported version. [github.com](https://github.com/pgcentralfoundation/pgrx/blob/develop/v0.20.0-MIGRATION.md)
- **Removed** `pg14`  

The pg14 feature is removed. Remove it from Cargo.toml, from code gated on it, and from CI, and change any default that names it to a supported version. [github.com](https://github.com/pgcentralfoundation/pgrx/blob/develop/v0.20.0-MIGRATION.md)
- **Removed** `PgRelation`  

Use oid() instead of rd_id, tuple_desc() instead of rd_att, and as_ptr for other fields. [github.com](https://github.com/pgcentralfoundation/pgrx/blob/develop/v0.20.0-MIGRATION.md)
- **Removed** `pgrx.varsize_any`  

Call the generated macro with the PostgreSQL name instead and wrap the result in unsafe as needed. [github.com](https://github.com/pgcentralfoundation/pgrx/blob/develop/v0.20.0-MIGRATION.md)
- **Removed** `PgTupleDesc`  

Code that reached the header through Deref must use len, oid, typmod, refcount, constraints or as_ptr instead. [github.com](https://github.com/pgcentralfoundation/pgrx/blob/develop/v0.20.0-MIGRATION.md)
- **Behavior changed**  

Reading text or varchar array elements as &str or String now panics on invalid data, including non-ASCII bytes in non-UTF-8 databases. [github.com](https://github.com/pgcentralfoundation/pgrx/blob/develop/v0.20.0-MIGRATION.md)
- **Behavior changed**  

Statements are ordered by declared dependencies, not by the SQL text. Blocks that name objects from elsewhere in the extension must list them in requires. [github.com](https://github.com/pgcentralfoundation/pgrx/blob/develop/v0.20.0-MIGRATION.md)
- **Behavior changed**  

Vec of types with lifetimes, and Array::into_iter over them, no longer compile. Read the array as an Array and use parts while it is alive, or use owned fields. [github.com](https://github.com/pgcentralfoundation/pgrx/blob/develop/v0.20.0-MIGRATION.md)
- **Behavior changed**  

Extensions must list in requires any object an extension_sql! block names from elsewhere in the extension, or CREATE EXTENSION can fail. [github.com](https://github.com/pgcentralfoundation/pgrx/releases/tag/v0.20.0)
- **Behavior changed** `PgBox`  

Each PgBox read from an array is a copy in CurrentMemoryContext, writes no longer change the array, and unsupported element types now panic. [github.com](https://github.com/pgcentralfoundation/pgrx/blob/develop/v0.20.0-MIGRATION.md)
- **Behavior changed** `pgrx.fn_call.fn_call`  

Arguments are now type-checked against the function's parameters and mismatches return FnCallError::IncompatibleArgumentType instead of calling the function. Casts are no longer applied. [github.com](https://github.com/pgcentralfoundation/pgrx/blob/develop/v0.20.0-MIGRATION.md)
- **Behavior changed** `pgrx.wrappers.rust_regtypein`  

Types are now looked up in the extension rather than through search_path, and an error is raised for types the extension does not have. Types from other extensions need their own type_oid. [github.com](https://github.com/pgcentralfoundation/pgrx/blob/develop/v0.20.0-MIGRATION.md)
- **Configuration changed**  

pgrx now requires Rust 1.99.1 or newer and refuses older toolchains, and Rust 1.99.0 is excluded. Update any rust-toolchain.toml or CI job that pins an older release. [github.com](https://github.com/pgcentralfoundation/pgrx/blob/develop/v0.20.0-MIGRATION.md)
- **Signature changed** `<type>_recv`  

The generated receive function is now an unsafe fn, so direct Rust callers must wrap calls in unsafe and meet its Safety requirements. [github.com](https://github.com/pgcentralfoundation/pgrx/blob/develop/v0.20.0-MIGRATION.md)
- **Signature changed** `AnyArray.into`  

Call it as AnyArray::into::\<T>(&values) inside unsafe code, or use the new value::\<T>() method that checks the type. [github.com](https://github.com/pgcentralfoundation/pgrx/blob/develop/v0.20.0-MIGRATION.md)
- **Signature changed** `pg_sys.VARHDRSZ`  

Code that relies on the usize type of pg_sys::VARHDRSZ must be updated to use i32. [github.com](https://github.com/pgcentralfoundation/pgrx/blob/develop/v0.20.0-MIGRATION.md)
- **Signature changed** `PgRelation.name`  

Code that held the returned &str must now own the String. [github.com](https://github.com/pgcentralfoundation/pgrx/blob/develop/v0.20.0-MIGRATION.md)
- **Signature changed** `PgRelation.namespace`  

Code that held the returned &str must now own the String. It also panics when the namespace does not exist. [github.com](https://github.com/pgcentralfoundation/pgrx/blob/develop/v0.20.0-MIGRATION.md)
- **Signature changed** `pgrx_sql_entity_graph::PgrxSql::graph`  

Was graph: StableGraph\<SqlGraphEntity<'a>, SqlGraphRequires>; now graph: SqlGraph\<SqlGraphEntity<'a>, SqlGraphRequires>. [crates.io](https://crates.io/crates/pgrx-sql-entity-graph/0.20.0)
- **Signature changed** `pgrx.htup.composite_row_type_make_tuple`  

Callers must now wrap calls in an unsafe block and pass a live composite Datum. [github.com](https://github.com/pgcentralfoundation/pgrx/blob/develop/v0.20.0-MIGRATION.md)
- **Signature changed** `pgrx.htup.DatumWithTypeInfo.into_value`  

Callers must now wrap calls in an unsafe block and meet the Safety requirements of the function. [github.com](https://github.com/pgcentralfoundation/pgrx/blob/develop/v0.20.0-MIGRATION.md)
- **Signature changed** `pgrx.htup.heap_getattr`  

Callers must now wrap calls in an unsafe block and pass a live tuple matching the descriptor. [github.com](https://github.com/pgcentralfoundation/pgrx/blob/develop/v0.20.0-MIGRATION.md)
- **Signature changed** `pgrx.htup.heap_getattr_datum_ex`  

Callers must now wrap calls in an unsafe block. It also takes typlen and typbyval from the descriptor's attlen and attbyval. [github.com](https://github.com/pgcentralfoundation/pgrx/blob/develop/v0.20.0-MIGRATION.md)
- **Signature changed** `PgTupleDesc.get`  

It now returns a copy of pg_sys::FormData_pg_attribute instead of a reference, so patterns that expected a reference must change. [github.com](https://github.com/pgcentralfoundation/pgrx/blob/develop/v0.20.0-MIGRATION.md)
- **Signature changed** `PgTupleDesc.iter`  

It now yields copies of pg_sys::FormData_pg_attribute instead of references, so code that matches on references must drop the & or \*. [github.com](https://github.com/pgcentralfoundation/pgrx/blob/develop/v0.20.0-MIGRATION.md)
- **Signature changed** `PgVarlena.new`  

PgVarlena::new starts from T::default() and requires T: Default. Use PgVarlena::from, implement Default, or call the unsafe new_zeroed where all-zero bytes are valid. [github.com](https://github.com/pgcentralfoundation/pgrx/blob/develop/v0.20.0-MIGRATION.md)

## pgrx-sql-entity-graph 0.20.0-beta.0 breaking changes

pgrx-sql-entity-graph 0.20.0-beta.0, released November 12, 2026: 1 breaking change.

- **Behavior changed**  

The petgraph replacement can change the order of statements in the generated schema. If an extension_sql! block names an object from elsewhere in the extension, list that object in requires so CREATE EXTENSION does not fail. [github.com](https://github.com/pgcentralfoundation/pgrx/releases/tag/v0.20.0-beta.0)

## Related packages

- [pgrx-tests](https://since.dev/packages/crates/pgrx-tests.md)
- [pgrx](https://since.dev/packages/crates/pgrx.md)
- [pgrx-macros](https://since.dev/packages/crates/pgrx-macros.md)
- [pgrx-pg-config](https://since.dev/packages/crates/pgrx-pg-config.md)

## 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.
