When executing SQL in psql, sometimes the screen switches and you need to press q to return. That itself is not a problem, but once you press q, the previously displayed values disappear, so it can be inconvenient if you want to check “the previous values.”
Continue reading Turn off pager in psql