pg_toastinspect
Low-level inspection of TOAST chunk identifiers, sizes, and stored values.
pg_toastinspect · Low-level inspection of TOAST chunk identifiers, sizes, and stored values.
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 101934 | pg_toastinspect | pg_toastinspect | 1.0 | ADMIN | PostgreSQL | C |
Usage
Sources:
pg_toastinspect Low-level inspection of TOAST chunk identifiers, sizes, and stored values.
Enablement
Install the files for the intended server, then create pg_toastinspect in the target database:
Core Workflow
The following example is taken from the reviewed upstream documentation. Adapt object names, paths, credentials, and workload values before use.
Main Objects
The reviewed install surface includes these prominent objects:
| Object | Kind | Operational role |
|---|---|---|
get_toast_info | FUNCTION | Callable function from the reviewed install surface. |
get_toast_chunk_id | FUNCTION | Callable function from the reviewed install surface. |
toast_pointer_info | TYPE | User-facing data type created by the extension. |
Operations and Boundaries
- Treat extension upgrades as database changes: review the upstream upgrade path, privileges, locks, and backup/restore behavior first.