-- Below command signals the log-file manager to switch to a new output file immediately.it is just like an alert log select pg_rotate_logfile() ;