\x
\connect - - - 5496
SELECT pg_is_in_recovery();
CHECKPOINT;
SELECT pg_switch_xlog();
CHECKPOINT;
SELECT pg_switch_xlog();
\connect - - - 6496
SELECT pg_is_in_recovery();
SELECT pg_start_backup('tst backup',TRUE,FALSE);
SELECT * FROM pg_stop_backup(FALSE);
SELECT * FROM pg_control_checkpoint();
SELECT * FROM pg_control_recovery();
