how to clear command prompt psql 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