↑↓ select ↵ open ⌫ change scope Open full search

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

Functions / System Administration Functions

pg_ls_waldir

Read the PG 18 manual

Returns the name, size, and last modification time (mtime) of each ordinary file in the server's write-ahead log (WAL) directory.

Reading PG 18current·documented in 11 of 27 versions, 10 to 20

Signatures & examples

pg_ls_waldir () → setof record ( name text, size bigint, modification timestamp with time zone )
Returns the name, size, and last modification time (mtime) of each ordinary file in the server's write-ahead log (WAL) directory. Filenames beginning with a dot, directories, and other special files are excluded.
Version history 2
  1. 12 → 13 changed
  2. 9.6 → 10 added

Definition snapshot: b7bd9cda · English manual source