When I use \d command, psql displays tables for me on the current screen. Then I can input my next command on the same screen.
But, select is different. Issue the command: select * from mytable, psql displays the result on another screen. I have to press q to quit it and return to command line screen.
I want to select command to display the result on the same screen in command line. How can I do it? Thanks.