↑↓ select ↵ open ⌫ change scope Open full search

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

Functions / System Administration Functions

pg_rotate_logfile

Read the PG 18 manual

Signals the log-file manager to switch to a new output file immediately.

Reading PG 18current·documented in 22 of 27 versions, 8.1 to 20

Signatures & examples

pg_rotate_logfile () → boolean
Signals the log-file manager to switch to a new output file immediately. This works only when the built-in log collector is running, since otherwise there is no log-file manager subprocess.
Version history 2
  1. 12 → 13 changed
  2. 8.0 → 8.1 added

Definition snapshot: b7bd9cda · English manual source