pg_walfile_name_offset ( lsn pg_lsn ) → record ( file_name text, file_offset integer )Converts a write-ahead log location to a WAL file name and byte offset within that file.
FUNCTIONS / SYSTEM ADMINISTRATION FUNCTIONS
pg_walfile_name_offset
Read PG 18 manual ↗Converts a write-ahead log location to a WAL file name and byte offset within that file.
Signatures & examples
Version history 2
- PG 12 → 13changed
- PG 9.6 → 10added
Definition snapshot: 2026-09-14T13:14:25.684213+00:00@99e6866c · English manual source