clear psql console code example
Example 1: clear screen command in psql
//for linux
\! clear
// for window
\! cls
Example 2: clear postgres terminal
If you are using Linux, type-in the following to clear the screen
<dbname>=# \! clear
//for linux
\! clear
// for window
\! cls
If you are using Linux, type-in the following to clear the screen
<dbname>=# \! clear