select open change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

FUNCTIONS / SYSTEM ADMINISTRATION FUNCTIONS

pg_split_walfile_name

Read PG 18 manual ↗

Extracts the sequence number and timeline ID from a WAL file name.

Signatures & examples

pg_split_walfile_name ( file_name text ) → record ( segment_number numeric, timeline_id bigint )
Extracts the sequence number and timeline ID from a WAL file name.
Version history 1
  1. PG 15 → 16added

Definition snapshot: 2026-09-14T13:14:25.684213+00:00@99e6866c · English manual source