pg_ls_logdir () → 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 log directory. Filenames beginning with a dot, directories, and other special files are excluded.
FUNCTIONS / SYSTEM ADMINISTRATION FUNCTIONS
pg_ls_logdir
Read PG 18 manual ↗Returns the name, size, and last modification time (mtime) of each ordinary file in the server's log directory.
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