OnCallReady

Commands

pg_controldata - display control information of a PostgreSQL database cluster

pg_controldata [OPTION] [DATADIR]

Examples

$ sudo -u postgres /usr/lib/postgresql/18/bin/pg_controldata /var/lib/postgresql/18/main

state, checkpoint, timeline

Try pg_controldata in a real terminal Free, in your browser - a real Ubuntu terminal to try it in, with missions that check your work.