pg_logicalinspect
Logical decoding components inspection
Overview
| Package | Version | Category | License | Language |
|---|---|---|---|---|
pg_logicalinspect | 1.0 | STAT | PostgreSQL | C |
| ID | Extension | Bin | Lib | Load | Create | Trust | Reloc | Schema |
|---|---|---|---|---|---|---|---|---|
| 6890 | pg_logicalinspect | No | Yes | No | Yes | No | No | - |
| Related | wal2json pgoutput test_decoding pg_walinspect decoderbufs wal2mongo decoder_raw pgmqtt kafka_fdw pgq |
|---|
Version
| PG18 | PG17 | PG16 | PG15 | PG14 |
|---|---|---|---|---|
| 1.0 | ✗ | ✗ | ✗ | ✗ |
Install
Note: This is a built-in contrib extension of PostgreSQL
Usage
pg_logicalinspect provides SQL functions to examine serialized logical decoding snapshots stored in pg_logical/snapshots/, useful for debugging and educational purposes.
Functions
pg_get_logical_snapshot_meta(filename text) – snapshot file metadata:
pg_get_logical_snapshot_info(filename text) – detailed snapshot information:
Listing Available Snapshots
Combine with pg_ls_logicalsnapdir() to discover and inspect all snapshots:
Access Control
Restricted to superusers and members of pg_read_server_files by default.
Was this page helpful?
Thanks—your feedback helps us improve this page.
What got in the way? (optional)