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 the PG 18 manualReturns the name, size, and last modification time (mtime) of each ordinary file in the server's log directory.
Reading PG 18current·documented in 11 of 27 versions, 10 to 20
Signatures & examples
Definition snapshot: b7bd9cda · English manual source